本文整理自网络,侵删。
在 keydown中是
if Key = VK_RETURN then
ShowMessage('回车');
在 keypress中是
if Key = #13 then
ShowMessage('回车');
相关阅读 >>
Delphi 编写activex控件(ocx控件)的知识和样例
Delphi 与 xml 示例(直接利用ixmldocument)
更多相关阅读请进入《Delphi》频道 >>
本文整理自网络,侵删。
在 keydown中是
if Key = VK_RETURN then
ShowMessage('回车');
在 keypress中是
if Key = #13 then
ShowMessage('回车');
相关阅读 >>
Delphi 编写activex控件(ocx控件)的知识和样例
Delphi 与 xml 示例(直接利用ixmldocument)
更多相关阅读请进入《Delphi》频道 >>
管理员已关闭评论功能...