OpenDialogMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All , Dependencies ) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics ,
classes ,
interfaces ,
controls ,
modules ,
global methods by category ,
global methods by name ,
screenshots ,
licenses
and examples .
Platforms to show: All Mac Windows Linux Cross-Platform
OpenDialogMBS class
A class for a multiple selection open dialog.
Example
dim o as OpenDialogMBSdim i,c as Integer dim f as FolderItem o=new OpenDialogMBS o.ShowHiddenFiles=true o.PromptText="Select one or more files:" o.MultipleSelection=true o.ActionButtonLabel="Open files" o.CancelButtonLabel="no, thanks." o.WindowTitle="This is a window title." o.ClientName="Client Name?" o.ShowDialog c=o.FileCountif c>0 then for i=0 to c-1 f=o.Files(i) Listbox1.AddRow f.NativePath next else // MsgBox "no file was selected." quitend if
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
21 properties
10 methods
This class has no sub classes.
Some examples using this class:
Blog Entries
Xojo Developer Magazine
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
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