
Zitat von
Catbytes:
"Key" ist vom Typ "Word". Richtigerweise moniert Delphi dann:
"[Fehler] Unit1.pas(30): Inkompatible Typen: 'Word' und 'Char'"
Das kommt davon, wenn man zu viel Copy&Paste benutzt!
Das ganze mit OnKeyPress und es funktioniert!
mfg
Christian