Platforms to show: All Mac Windows Linux Cross-Platform
WinFileDialogMBS.OptionPickFolders as Boolean
Function:
Present an Open dialog that offers a choice of folders rather than files.
Notes: (Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes: (Read and Write property)
WinFileDialogMBS.Options as Integer
Function:
The current flags that are set to control dialog behavior.
Notes:
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)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes:
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
Function:
In the case of a sharing violation when an application is opening a file, call the application back through ShareViolation event for guidance.
Notes:
This flag is overridden by kOptionsNoValidate.
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes:
This flag is overridden by kOptionsNoValidate.
(Read and Write property)
WinFileDialogMBS.OptionStrictFileTypes as Boolean
Function:
In the Save dialog, only allow the user to choose a file that has one of the file name extensions specified through SetFileTypes.
Notes: (Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes: (Read and Write property)
WinFileDialogMBS.OptionSupportsStreamableItems as Boolean
Function:
Indicates that the caller is opening a file as a stream (BHID_Stream), so there is no need to download that file.
Notes: (Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes: (Read and Write property)
WinFileDialogMBS.ProminentControlID as Integer
Function:
Places a control in the dialog so that it stands out compared to other added controls.
Notes:
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)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes:
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
Function:
The choice that the user made in the dialog.
Notes:
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)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes:
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
Function:
The title of the dialog.
Example:
Notes:
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
Dim d As WinFileOpenDialogMBS // your dialog
d.title = "Export database"
WinFileDialogMBS.WindowHandle as Integer
Function:
Queries window handle.
Notes:
Value is a HWND and may be used in declares.
(Read only property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes:
Value is a HWND and may be used in declares.
(Read only property)
The items on this page are in the following plugins: MBS WinFrameworks Plugin.

Links
MBS Xojo Plugins