On 07/08/16 22:12, Bart wrote:
B.t.w: QT or GTK2?
Same results for both GTK2 and QT
What about the OnCanClose event? Does it get fired if you cancel the dialog?
It fires for both GTK2 and QT when cancelled.
It should not (see TFileDialog.DoCanClose). If OnCanClose fires, can you uncomment the debugln() in TFileDialog.DoCanClose, so we can see what the value is of UserChoice at that point?
Ah, Perhaps I have an incorrect revision (although it is dated and built today), since TFileDialog has no DoCanClose override, and no UserChoice variable.
I'll rebuild from a download tomorrow, and test again. Howard -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
