Platforms to show: All Mac Windows Linux Cross-Platform

Back to WinFileDialogMBS class.

Previous items

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)

WinFileDialogMBS.ProminentControlID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Places a control in the dialog so that it stands out compared to other added controls.

Setting this property causes the control to be placed near the Open or Save button instead of being grouped with the rest of the custom controls.
Only check buttons (check boxes), push buttons, combo boxes, and menus—or a visual group that contains only a single item of one of those types—can be made prominent.
Only one control can be marked in this way. If a dialog has only one added control, that control is marked as prominent by default.
(Read and Write property)

WinFileDialogMBS.Result as WinShellItemMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
The choice that the user made in the dialog.

Result can be called after the dialog has closed or during the handling of an OnFileOk event. Calling this method at any other time will fail. If multiple items were chosen, this method will fail. In the case of multiple items, call Results method.
Show must return a success code for a result to be available to Result.

If not result exists, the plugin returns nil and raises no failed exceptions.
(Read only property)

WinFileDialogMBS.Title 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 title of the dialog.
Example
Dim d As WinFileOpenDialogMBS // your dialog
d.title = "Export database"

(Read and Write property)

WinFileDialogMBS.WindowHandle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Queries window handle.

Value is a HWND and may be used in declares.
(Read only property)

Previous items

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


💬 Ask a question or report a problem
The biggest plugin in space...