Registriert seit: 16. Jan 2004
Ort: Bendorf
5.219 Beiträge
Delphi 10.2 Tokyo Professional
|
Re: Edit-Box Eingabe Kontrolle
15. Aug 2008, 15:30
Hi,
Ich mache es immer so:
Delphi-Quellcode:
if not (Key in ['0'..'9',Chr(VK_BACK),Chr(VK_DELETE)]) then
Key := #0;
Wenn man VK_BACK und VK_DELETE weglässt, dann wirds schwer eine Eingabe zu korrigieren *g*
Gruß
Neutral General
Michael "Programmers talk about software development on weekends, vacations, and over meals not because they lack imagination,
but because their imagination reveals worlds that others cannot see."
|