TCommonDialog events meta issue
Original Reporter info from Mantis: Bart @flyingsheep
-
Reporter name: Bart Broersma
Original Reporter info from Mantis: Bart @flyingsheep
- Reporter name: Bart Broersma
Description:
In Lazarus TCommonDialog implements OnCanClose.
This is not compatible with Delphi (see: http://docwiki.embarcadero.com/Libraries/Berlin/en/Vcl.Dialogs.TCommonDialog_Events).
Not all TCommonDialog descendant actually fire OnCanClose and setting Canclose to false does not alwasy achive the expected results, or hangs the application.
This may be widgetset and OS version dependant.
OnShow and OnClose are not always called, or twice, or at the wrong time.
Steps to reproduce:
Unzip attached sample application.
In compiler options control the amount of debug and/or use of VistaDialogs
(needs Lazarus trunk >= r52790):
- DebugCommonDialogEvents
- DisableVistaDialogs
- DebugCommonDialogEventsAndDisableVistaDialogs
Try different dialogs with different settings of the checkboxes.
(To test the dialog, click the "Execute" button)
Mantis conversion info:
- Mantis ID: 30449
- OS: Windows
- OS Build: Win7
- Build: r52754
- Platform: i386
- Version: 1.7 (SVN)
- Fixed in revision: r52787 (#6e5cf2da)..r52791 (#12c717b8), r52801 (#cc041a51), r52807 (#31a5dce8), r52814 (#df62e1d2)..r52849 (#e2d9b0ef), r52850 (#4213e084)..r52852 (#f6450e8a), r52854 (#84f90e1b), r52859 (#2e4aa22e),