OPEN DIALOG OPTIONS
This command sets the display options of an Open File Dialog. The Options parameter can be a combination of the following values:
1 = Read Only: Selects the Open As Read Only check box by default when the dialog opens.
2 = Overwrite Prompt: Generates a warning message if the user tries to select a file name that is already in use, asking whether to overwrite the existing file.
4 = Hide Read Only: Removes the Open As Read Only check box from the dialog.
8 = No Change Dir: After the user clicks OK, resets the current directory to whatever it was before the file-selection dialog opened.
32 = No Validate: Disables checking for invalid characters in file names. Allows selection of file names with invalid characters.
64 = Allow MultiSelect: Allows users to select more than one file in the dialog.
128 = Extension Different: This flag is turned on at runtime whenever the selected filename has an extension that differs from DefaultExt.
256 = Path Must Exist: Generates an error message if the user tries to select a file name with a nonexistent directory path.
512 = File Must Exist: Generates an error message if the user tries to select a nonexistent file.
1024 = Create Prompt: Generates a warning message if the user tries to select a nonexistent file, asking whether to create a new file with the specified name.
2048 = Share Aware: Ignores sharing errors and allows files to be selected even when sharing violations occur.
4096 = No Read Only Return Generates an error message if the user tries to select a read-only file.
8192 = No Test File Create: Disables checking for network file protection and inaccessibility of disk drives. Applies only when the user tries to save a file in a create-no-modify shared network directory.
16384 = No Network Button: Removes the Network button (which opens a Map Network Drive dialog) from the file-selection dialog. Applies only if the ofOldStyleDialog flag is on.
32768 = No Long Names: Displays 8.3-character file names only.
65536 = Old Style Dialog: Creates the older style of file-selection dialog.
131072 = No Dereference Links: Disables dereferencing of Windows shortcuts. If the user selects a shortcut, assigns to FileName the path and file name of the shortcut itself (the .LNK file), rather than the file linked to the shortcut.
524288 = Enable Sizing Allows users to resize the dialog.
The default setting is 4 + 524288 (Hide Read Only and Enable Sizing)
ARGUMENTS:
* Options = The Open Dialog options
SYNTAX
OPEN DIALOG OPTIONS Options
RELATED INFO
View Dialogs Index
View STYX Index
View STYX Main File