Autor Beitrag
Raezor
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 54

Status:
Administrator des Mondes
BeitragVerfasst: Sa 24.03.07 09:19 
Habe mir den VK Code von (.) im Internet gesucht, und auch

ausblenden Quelltext
1:
KEYBD_EVENT(VK_PERIOD,0,0,0);					

gefunden.

Doch er sagt mir immer:
[Fehler] Unit1.pas(70): Undefinierter Bezeichner: 'VK_PERIOD'

Was muss ich damit anstellen?
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 24.03.07 09:37 
ausblenden Delphi-Quelltext
1:
2:
const
  VK_PERIOD = 190

Oder eben gleich 190 einsetzen.


(Herausfinden kannst du das auch so:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.Edit1KeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
  Caption := IntToStr(Key);
end;


Dann bekommst du in der Caption den Key-Code angezeigt.)

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Raezor Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 54

Status:
Administrator des Mondes
BeitragVerfasst: Sa 24.03.07 10:29 
danke