Para você saber o número de um tecla

Delphi

15/02/2004

Para você saber o nº de um tecla é só colocar no evento

procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift:TShiftState);
Begin
ShowMessage(´O nº da tecla: ´+Char(ORD(Key))+´ é => ´+IntToStr(key));
End;


Thesanto

Thesanto

Curtidas 0
POSTAR