Default options for TOpenDialog
Original Reporter info from Mantis: havezet
-
Reporter name: Hert Vanz
Original Reporter info from Mantis: havezet
- Reporter name: Hert Vanz
Description:
Coming from a Delphi conversion I was surprised that my testers reported issues that they could enter non existing file names in the open dialog.
In unit "Dialogs" the default options for a TOpenDialog are defined as
DefaultOpenDialogOptions = [ofEnableSizing, ofViewDetail];
Shouldn't that be:
DefaultOpenDialogOptions = [ofEnableSizing, ofViewDetail, ofFileMustExist];
Just wondering...
Mantis conversion info:
- Mantis ID: 20954
- OS: Windows
- OS Build: 7
- Version: 2.3 (SVN)