Platforms to show: All Mac Windows Linux Cross-Platform

Back to WinFileDialogMBS class.

WinFileDialogMBS.OkButtonLabel as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The text of the Open or Save button.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OkButtonLabel = "Export"

(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionAllNonStorageItems as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Enables the user to choose any item in the Shell namespace, not just those with SFGAO_STREAM or SFAGO_FILESYSTEM attributes. #

This flag cannot be combined with OptionForceFileSystem.
(Read and Write property)

WinFileDialogMBS.OptionAllowMultiSelect as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Enables the user to select multiple items in the open dialog.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionAllowMultiSelect = true

Note that when this flag is set, the WinFileOpenDialogMBS class must be used to retrieve those items.
(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionCreatePrompt as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Prompt for creation if the item returned in the save dialog does not exist.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionCreatePrompt = true

Note that this does not actually create the item.
(Read and Write property)

WinFileDialogMBS.OptionDefaultNoMiniMode as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Indicates to the Save As dialog box that it should open in expanded mode.

Expanded mode is the mode that is set and unset by clicking the button in the lower-left corner of the Save As dialog box that switches between Browse Folders and Hide Folders when clicked. This value is not supported as of Windows 7.
(Read and Write property)

WinFileDialogMBS.OptionDontAaddToRecent as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Do not add the item being opened or saved to the recent documents list.

(Read and Write property)

WinFileDialogMBS.OptionFileMustExist as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The item returned must exist.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionFileMustExist = true

This is a default value for the Open dialog.
(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionForceFileSystem as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Ensures that returned items are file system items.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionForceFileSystem = true

Note that this does not apply to items returned by CurrentSelection.
(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionForcePreviewPaneOn as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Indicates to the Open dialog box that the preview pane should always be displayed.

(Read and Write property)

WinFileDialogMBS.OptionForceShowHidden as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Include hidden and system items.

(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionHideMRUPlaces as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Hide the list of places from which the user has recently opened or saved items. This value is not supported as of Windows 7.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionHideMRUPlaces = true

(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionHidePinnedPlaces as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Hide items shown by default in the view's navigation pane.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionHidePinnedPlaces = true

This flag is often used in conjunction with the AddPlace method, to hide standard locations and replace them with custom locations.

Windows 7 and later. Hide all of the standard namespace locations (such as Favorites, Libraries, Computer, and Network) shown in the navigation pane.

Windows Vista. Hide the contents of the Favorite Links tree in the navigation pane. Note that the category itself is still displayed, but shown as empty.
(Read and Write property)

WinFileDialogMBS.OptionNoChangeDir as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Don't change the current working directory.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionNoChangeDir = true

(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionNoDereferenceLinks as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Shortcuts should not be treated as their target items.

This allows an application to open a .lnk file rather than what that file is a shortcut to.
(Read and Write property)

WinFileDialogMBS.OptionNoReadOnlyReturn as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Do not return read-only items.

This is a default value for the Save dialog.
(Read and Write property)

WinFileDialogMBS.OptionNoTestFileCreate as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Do not test whether creation of the item as specified in the Save dialog will be successful.

If this flag is not set, the calling application must handle errors, such as denial of access, discovered when the item is created.
(Read and Write property)

WinFileDialogMBS.OptionNoValidate as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Do not check for situations that would prevent an application from opening the selected file, such as sharing violations or access denied errors.

(Read and Write property)

WinFileDialogMBS.OptionOKButtonNeedsInteraction as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
OKButton needs interaction?

(Read and Write property)

WinFileDialogMBS.OptionOverwritePrompt as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
When saving a file, prompt before overwriting an existing file of the same name.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionOverwritePrompt = true

This is a default value for the Save dialog.
(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionPathMustExist as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The item returned must be in an existing folder.
Example
Var d As WinFileOpenDialogMBS // your dialog
d.OptionPathMustExist = true

This is a default value.
(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionPickFolders as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Present an Open dialog that offers a choice of folders rather than files.

(Read and Write property)

Some examples using this property:

WinFileDialogMBS.Options as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The current flags that are set to control dialog behavior.

See kOptions* constants.

Generally, you should read the property, modify it to include or exclude options by setting the appropriate flags and assign it again.
(Read and Write property)

WinFileDialogMBS.OptionShareaware as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
In the case of a sharing violation when an application is opening a file, call the application back through ShareViolation event for guidance.

This flag is overridden by kOptionsNoValidate.
(Read and Write property)

WinFileDialogMBS.OptionStrictFileTypes as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
In the Save dialog, only allow the user to choose a file that has one of the file name extensions specified through SetFileTypes.

(Read and Write property)

Some examples using this property:

WinFileDialogMBS.OptionSupportsStreamableItems as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Indicates that the caller is opening a file as a stream (BHID_Stream), so there is no need to download that file.

(Read and Write property)

The items on this page are in the following plugins: MBS WinFrameworks Plugin.


The biggest plugin in space...