Recently I stumbled into a situation where an unhandled exception gave me the choice to either kill Lazarus, or to continue at my own risk. Pressing the wrong shortcut key can be fatal in this situation :-(

IMO such a dialog, with severe consequences, should not use standard OK/Cancel buttons, and also should not associate commonly used shortcuts with the buttons. Instead more intuitive Kill/Continue buttons should be used.

In typical situations the Escape key is associated with Cancel, meaning to abort or undo a wrong action. In the case of an exception this should mean to cancel the *action* (and continue), not to kill the *application*.

This reminds me on an old DOS joke prompt:
 "Do not delete all files - Y/N?"
where the answer is not obviously related to the expected action.


What do you think?

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to