Unit für virtuelle Tastencodes lazarus / 1-Linux ---------------------------------------------------------------------- ralph · 2006-08-26 14:59 Hallo, welche Unit muß ich einbinden, damit ich virtuelle Tastencodes für das Ereignis KeyDown des Formulars benutzen kann if Key = VK_F1 then ............. Das funktioniert leider nicht ! Ralph ---------------------------------------------------------------------- CCRDude · 2006-08-26 17:13 Nur ne kurze Idee: das liegt aber nicht zufällig daran, daß Du formIrgendwas.KeyPreview auf false hast? ---------------------------------------------------------------------- Vincent Snijders · 2006-08-26 18:30 I think I understand the question. This FAQ might help. ---------------------------------------------------------------------- CCRDude · 2006-08-26 19:08 The original German question "it doesn't work" without any more details was the typical support nightmare, so one would have to guess... but your answer fits most likely ---------------------------------------------------------------------- ralph · 2006-08-27 03:19 Hallo, CCRDude, many thanks for the kind information, exuse me my bad english, but i am german boy. Also, es funktioniert, wenn die Unit LCLtype eingebunden ist. In der englischen FAQ steht es beschrieben, ich hatte nur die deutsche FAQ Übersetzung, und in der steht es nicht ! Ralph ---------------------------------------------------------------------- CCRDude · 2006-08-27 15:59 Oh, you've got to thank Vincent, not me I thought for a moment about adding it to the German FAQ, but I guess one needs time to update it since a lot of items are missing. Maybe another day when I'm not in a hurry Du musst Vincent danken, nicht mir Und Du hast recht, die deutsche FAQ ist relativ spärlich, die müsste mal überarbeitet werden. Mal sehen ob ich irgendwann eine freie Minute dafür finde. ---------------------------------------------------------------------- ralph · 2006-08-28 03:27 Good morning Vincent, many thanks for your help me. Ralph