Fix: ESC handle in Ask Dialog

This commit is contained in:
rich2014 2023-07-26 21:52:24 +08:00
commit ab64636e64

View file

@ -107,6 +107,7 @@ procedure TfrmMsg.FormKeyPress(Sender: TObject; var Key: Char);
begin
if (Key = #27) and (Escape >= 0) then
begin
Key:= #0;
iSelected:= Escape;
Close;
end;