Autor Beitrag
|\/|_/\_><
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18



BeitragVerfasst: Do 13.10.05 15:27 
hi,
ich habe ein ApplicationEvents-Element in mein Programm eingebaut, um Tastenkombinationen abzufangen. Merkwürdigerweise funktioniert das aber nicht, wenn ein TEdit-Feld den Fokus hat. Kann man das Problem irgendwie beheben?

Danke im Vorraus! - Gruß Max
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Fr 14.10.05 07:25 
Hallo,

ich kann es dir nicht genau sagen. In TForm gibt es etwas wie Keypreview oder irgend etwas mit Preview. Das sollte das Problem lösen helfen.

Es hat damit zu tun, das TEdit diese Messages für sich auswertet, Du musst dafür sorgen, das die Form die Messages zuerst enthält.

Habe leider kein Delphi hier verfügbar.

Thomas
HaRaH
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 65



BeitragVerfasst: Fr 21.10.05 13:13 
hm - ich hatte so ein Problem auch mal - bis jetzt aber leider keine Lösung gefunden.
Keiner eine Idee?