On Sunday 22 of April 2012 12:28:43 Bart wrote:
> Hi all,
> 
> MessageDlg eventually calls WidgetSet.PromptUser()
> This in return either calls and sets up a widgetset specific function
> (like TaskDialogIndirect on Windows Vista/Win7) or if such an
> implementations does not exist it calls
> TPromptDialog.CreateMessageDialog() and the LCL will build it's own
> MessageDialog form with appropriate buttons etc.
> 
> I see 3  problems (see http://bugs.freepascal.org/view.php?id=21801 ).
> 
> 1.


> How to handle clicking on X-border-icon?

afair, qt and gtk2 have default result for that and escape key (you can set on 
dialog what is the value of default result for [X] and escape), result should 
be mrCancel in any case.

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

Reply via email to