procedure TFmain.ApplicationEvents1ShortCut(var Msg: TWMKey;var Handled:Boolean); begin if (TWMKey(Msg).CharCode = VK_ESCAPE) then self.close end;
沒有留言:
張貼留言