Platforms to show: All Mac Windows Linux Cross-Platform
OpenDialogMBS.AddType(t as OpenDialogFileTypeMBS)
Function:
Adds a file type to the list.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
OpenDialogMBS.ClearTypes
Function:
Clears the file type list.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
OpenDialogMBS.CountTypes as Integer
Function:
Returns the number of file types in the file type list.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
OpenDialogMBS.Files as FolderItem()
Function:
Queries an array with all files picked.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
See also:
OpenDialogMBS.Files(index as Integer) as folderitem
Function:
The array with the selected files.
Notes: Index goes from 0 to filecount-1.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Notes: Index goes from 0 to filecount-1.
See also:
OpenDialogMBS.GetCustomImageHeight as Integer
Function:
Returns the heigh of the custom picture in pixels.
Example:
Notes:
The height depends on the size of the Windows system font, so it's variable and this function calculates the size for you.
Returns 0 on any error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Example:
dim o as new OpenDialogMBS
msgbox "GetCustomImageHeight: "+str(o.GetCustomImageHeight) // could show 72 as value.
The height depends on the size of the Windows system font, so it's variable and this function calculates the size for you.
Returns 0 on any error.
OpenDialogMBS.GetType(index as Integer) as OpenDialogFileTypeMBS
Function:
Returns the file type with the given index.
Notes: Returns nil on any error.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Notes: Returns nil on any error.
OpenDialogMBS.Items as OpenDialogItemMBS()
Function:
Queries items picked.
Notes: Currently only provided for Windows to get name, path, URL or data for items, which may not always have a file path.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 20.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Notes: Currently only provided for Windows to get name, path, URL or data for items, which may not always have a file path.
OpenDialogMBS.RefreshCustomImage
Function:
Call this method after you set the custompicture property to update the window.
Notes: The control is asked to redraw and will use the CustomPicture property for the picture content. Space around is colored with window background color.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Notes: The control is asked to redraw and will use the CustomPicture property for the picture content. Space around is colored with window background color.
OpenDialogMBS.ShowDialog
Function:
Shows the dialog.
Example:
Notes:
Check the FileCount property to see whether something was selected.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Example:
dim o as new OpenDialogMBS
o.ShowDialog
The items on this page are in the following plugins: MBS Util Plugin.
Feedback: Report problem or ask question.
