Autor Beitrag
Adryr
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

Win XP und Win7
Delphi 7
BeitragVerfasst: Fr 14.05.10 09:25 
Hallo erstmal

ich wollte letzens für ein Programm ein OnKeyPress Ereignis programmieren aber ich hab das Problem, dass Programm nciht in die Prozedur reingeht

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm2.FormKeyPress(Sender: TObject; var Key: Char);
begin
  if Key = 'x' then TForm3.Create(Form2);
end;


irgendwie wird diese Prozedur vom Programm ignoriert.
hab auch schon einen Breakpunkt an den Anfang gesetzt, der auch ingoriert wurde.

danke schon mal

mfg Adryr


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Fr 14.05.2010 um 10:33
bummi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1248
Erhaltene Danke: 187

XP - Server 2008R2
D2 - Delphi XE
BeitragVerfasst: Fr 14.05.10 09:28 
Keypreview aktivieren
Adryr Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 18

Win XP und Win7
Delphi 7
BeitragVerfasst: Fr 14.05.10 09:31 
vielen dank
jetzt funktionierts ^^

mfg Adryr