Autor Beitrag
JRegier
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Sa 26.11.05 15:58 
Hallo,

wie prüfe ich bei DragOver welche taste gedrückt wird?
Welche Maustaste und welche Tastatur-Taste?
arcardia
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 48



BeitragVerfasst: Di 06.12.05 13:48 
Wenns es nur um bestimmte Tasten geht wie STRG z.B

so würde ich in der Form das OnKeyDown nutzen
um einen Merker zu füllen

z.B
ausblenden Delphi-Quelltext
1:
2:
3:
 Var STRGDown : Boolean = False;
 ...
 if (ssCtrl in Shift) then STRGDown := True;


Im FormKeyUp natürlich wieder auf FALSE stellen

Moderiert von user profile iconraziel: Code- durch Delphi-Tags ersetzt