Onkeydown and VK_ENTER is send twice
Original Reporter info from Mantis: pomalo
-
Reporter name:
Original Reporter info from Mantis: pomalo
- Reporter name:
Description:
lazarus 0.9.29 svn
Fpc 2.4.3
Linux Debian Lenny with libgtk 2.12.12-1-lenny2
the VK_ENTER key is send twice in OnKeyDown event after a fist input
on a simple form putting the following code
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState
);
begin
showmessage(FloatToStr(key));
key := 0;
end;
show the message at fist keydown of VK_ENTER but when if imediatly after this i enter a new VK_ENTER, the message is displayed but immediatly close.
Work fine on win32 (xp and seven) same compiler and lazarus version
my app handling VK_ENTER return unwanted result
Mantis conversion info:
- Mantis ID: 17387
- Version: 0.9.29 (SVN)
- Fixed in revision: 27630 (#0874f11d)
- Monitored by: » pomalo (pomalo)