delphi判断按下的是回车键?

在 keydown中是
if Key = VK_RETURN then
ShowMessage('回车');

在 keypress中是
if Key = #13 then
ShowMessage('回车');

好的代码像粥一样,都是用时间熬出来的
原文地址:https://www.cnblogs.com/jijm123/p/13667779.html