<p>在 keydown中是 <br /> if Key = VK_RETURN then <br /> ShowMessage('回车'); <br /> <br />在 keypress中是 <br /> if Key = #13 then <br /> ShowMessage('回车'); <br /></p> Loading... <p>在 keydown中是 <br /> if Key = VK_RETURN then <br /> ShowMessage('回车'); <br /> <br />在 keypress中是 <br /> if Key = #13 then <br /> ShowMessage('回车'); <br /></p> 最后修改:2009 年 08 月 16 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 支持就是力量