D daifan Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-31 #1 程序需要知道用户的输入是小回车,根据小回车做一些处理工作,请问怎么知道是小回车的按键呢?
C chen_jianxiong Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-31 #2 procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;<br> Shift: TShiftState);<br>begin<br> showmessage(IntToStr(Key));<br>end;
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;<br> Shift: TShiftState);<br>begin<br> showmessage(IntToStr(Key));<br>end;