如何判断按下的是回车键?

该日志由 samool 发表于 2008-05-21 11:30 AM

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

» 阅读该日志全文...

该日志标签: delphi, keydown, keypress, 回车