我实现了TEdit.OnKeyDown事件showmessage(inttostr(Key));发现除了 ESC 和 ENTER外,按其他的键均会出现对话框