OnShow is triggered twice in TOpenDialog and TSaveDialog
Original Reporter info from Mantis: ludob
-
Reporter name: Ludo Brands
Original Reporter info from Mantis: ludob
- Reporter name: Ludo Brands
Description:
File dialogs using common dialog boxes trigger the OnShow in
- TCommonDialog.DoExecute
- OpenFileDialogCallBack when receiving CDN_INITDONE
For what it's worth, in the first call, the dialog window isn't created yet. Since OnShow for a TForm is triggered just before the form becomes visible, IMHO the first dialog OnShow is far too early.