Y
yzykjh
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure MyKeyDown(var msg: TWMKEYDOWN); Message WM_KEYDOWN;<br><br>procedure TForm1.MyKeyDown(var msg: TWMKEYDOWN);<br>begin<br> if (msg.Msg=WM_KEYDOWN) and (msg.KeyData=27) then begin<br> showmessage('ok');<br> close;<br> end;<br>end;<br>