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 |
Example:
dim o as OpenDialogMBS
dim 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.FileCount
if c>0 then
for i=0 to c-1
f=o.Files(i)
Listbox1.AddRow f.NativePath
next
else
// MsgBox "no file was selected."
quit
end if
- 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.1pr8
- Customized File Open and Save Dialogs for Windows
- MBS Xojo Plugins, version 20.0r7
- MBS Xojo Plugins, version 19.5pr3
- Open Dialog upgraded
- Xojo 2017 Release 2
- MonkeyBread Software Releases the MBS Xojo / Real Studio plug-ins in version 14.0
- MBS Xojo / Real Studio Plugins, version 13.2pr10
- 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
The items on this page are in the following plugins: MBS Util Plugin.
OpenDialogItemMBS - OpenSSLExceptionMBS
