Autor Beitrag
whitef
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Mi 26.09.07 21:05 
weiss jemand den wert für die ALT-Taste?

für escape ist es #27...

bsp.:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
begin
  if Key=#27 then
  close
end;
whitef Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 202
Erhaltene Danke: 1

Windows X
Delphi XE X
BeitragVerfasst: Mi 26.09.07 21:52 
ist nich mehr so wichtig, ich hab einfach das onKeydown von der Form benutzt, das langt auch für meine zwecke.

hab nämlich ein popup offen und ich wollte verhindern, das wenn jmd. mittels ALT + TAB in ein anderes programm geht, dass das popup immernoch offen ist... also einfach per keydown > close.