![]() |
Re: try-except (strtoint) geht nicht
Also ich würde ja gar nicht erst nix anderes als Zahlen im Editfeld zulassen ala:
Delphi-Quellcode:
procedure TMyFormX.EditXKeyPress(Sender: TObject; var Key: Char);
begin if not (Key in ['0'..'9', Chr(VK_TAB), Chr(VK_BACK), Chr(VK_RETURN), Chr(VK_DELETE)]) then begin Key := #0; MessageBeep(0); end; end; |
Re: try-except (strtoint) geht nicht
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 14:02 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz