Thema
:
[Fun-Tool] EKG-PC-Monitor
Einzelnen Beitrag anzeigen
turboPASCAL
Registriert seit: 8. Mai 2005
Ort: Sondershausen
4.274 Beiträge
Delphi 6 Personal
#
83
Re: EKG-PC-Monitor
20. Mär 2006, 14:10
@
FB
zusammenfalten
·
markieren
Delphi-Quellcode:
procedure
TfrmPcEkg.Edit1KeyPress(Sender: TObject;
var
Key: Char);
begin
// if Key in ['0'..'9', Chr(VK_BACK)] then Key := #0;
// oder :
if
Ord(Key)
in
[0..9, VK_BACK]
then
Key := #0;
// if (Key <> '0') and (Key <> '1') and (Key <> '2') and (Key <> '3') and
// (Key <> '4') and (Key <> '5') and (Key <> '6') and (Key <> '7') and
// (Key <> '8') and (Key <> '9') and (Ord(Key) <> VK_BACK) then
// Key := #0;
end
;
Besser ?
Matti
Meine Software-Projekte
-
Homepage
-
Grüße vom Rüsselmops -Mops Mopser
Zitat
turboPASCAL
Öffentliches Profil ansehen
Mehr Beiträge von turboPASCAL finden