On 22/04/12 15:14, cobines wrote:
2012/4/22 patspiper<[email protected]>:
2- Escape key should first check if any button has Cancel=true, and use that
button's modal result. Otherwise, mrCancel is in order as the user is
running away from answering the dialog.
That's different because currently Escape does not close a modal form
unless there's a button with Cancel=true.
For other modal forms: True, and I mentioned that in 2 follow-up emails.
For the MessageDlg and WidgetSet.PromptUser, the Escape key closes the
dialog.
Stephano
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus