Platforms to show: All Mac Windows Linux Cross-Platform
OpenDialogMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
OpenDialogMBS does not yet use NSOpenPanel yet. So for Cocoa applications you can use NSOpenPanelMBS class directly. For the Mac App Store, you must use NSOpenPanelMBS and avoid OpenDialogMBS.
- 2 events
- event FilterItem(file as folderitem, filterMode as Integer) as boolean
- event SelectionChanged(file as folderitem)
- 21 properties
- property accessoryView as Variant
- property ActionButtonLabel as String
- property AllowFolderSelection as Boolean
- property Creator as String
- property CustomPicture as Picture
- property File as FolderItem
- property FileCount as Integer
- property InitialDirectory as FolderItem
- property Lasterror as Integer
- property Left as Integer
- property MultipleSelection as Boolean
- property ParentWindow as Variant
- property PromptText as String
- property ResolveAliases as Boolean
- property ShowHiddenFiles as Boolean
- property Top as Integer
- property TreatFilePackagesAsDirectories as Boolean
- property UseCustomPicture as Integer
- property WindowTitle as String
- 10 methods
- method AddType(t as OpenDialogFileTypeMBS)
- method ClearTypes
- method CountTypes as Integer
- method Files as FolderItem()
- method Files(index as Integer) as folderitem
- method GetCustomImageHeight as Integer
- method GetType(index as Integer) as OpenDialogFileTypeMBS
- method Items as OpenDialogItemMBS()
- method RefreshCustomImage
- method ShowDialog
This class has no sub classes.
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 21.6pr3
- MBS Xojo Plugins, version 21.1pr8
- MBS Xojo Plugins, version 20.2pr2
- Customized File Open and Save Dialogs for Windows
- MBS Xojo Plugins, version 20.0pr7
- Open Dialog upgraded
- Xojo 2017 Release 2
- MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.0
- MBS REALbasic Plugins, version 11.0fc1
- MonkeyBread Software Releases the MBS Plugins 8.1
Xojo Developer Magazine
- 3.2, page 42: Notes, Questions, and Answers, Christian tackles a variety of issues by Christian Schmitz
- 12.2, page 10: News
Release notes
- Version 22.0
- Changed window properties to variant, so you can use DesktopWindow there for WindowsShortCutMBS, WindowsPrintDialogMBS, WindowsPageSetupDialogMBS, WindowsICMSetupMBS, WindowsBlueToothSelectDeviceDialogMBS, TwainMBS, TaskDialogMBS, OpenDialogMBS, DirectShowVideoWindowMBS, WindowsStoreContextMBS, WindowsFileCopyMBS, WindowsFontDialogMBS, WindowsPreviewHandlerMBS, WindowsStoreContextMBS, ParentChromiumFrameMBS and ChromiumBrowserMBS classes.
- Version 21.1
- Fixed an issue with OpenDialogMBS class not returning folderitems properly for alias files.
- Version 20.2
- Deprecated ClientName and CancelButtonLabel in OpenDialogMBS class as they are no longer used.
- Version 20.0
- Added Items and Files methods to OpenDialogMBS class.
- Version 19.5
- Fixed OpenDialogMBS class to set parent window for new style open dialogs.
- Version 18.3
- Upgraded OpenDialogMBS class to use newer API on Windows, if possible.
- Version 18.2
- Fixed OpenDialogMBS for Cocoa target to handle better file extensions when several are separated by semicolon.
The items on this page are in the following plugins: MBS Util Plugin.
OpenDialogItemMBS - OpenSSLExceptionMBS