[Lazarus] Inconsistent results from MessageDlg()
patspiper
patspiper at gmail.com
Sun Apr 22 14:17:25 CEST 2012
On 22/04/12 15:14, cobines wrote:
> 2012/4/22 patspiper<patspiper at gmail.com>:
>> 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
More information about the Lazarus
mailing list