在 keydown中是
if Key = VK_RETURN then
ShowMessage('回车');
在 keypress中是
if Key = #13 then
ShowMessage('回车');
最后修改:2009 年 08 月 16 日
© 允许规范转载