Platforms to show: All Mac Windows Linux Cross-Platform

Back to OpenDialogMBS class.

OpenDialogMBS.AddType(t as OpenDialogFileTypeMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Adds a file type to the list.

OpenDialogMBS.ClearTypes

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Clears the file type list.

OpenDialogMBS.CountTypes as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Returns the number of file types in the file type list.

OpenDialogMBS.Files as FolderItem()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Queries an array with all files picked.

See also:

OpenDialogMBS.Files(index as Integer) as folderitem

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
The array with the selected files.

Index goes from 0 to filecount-1.

See also:

OpenDialogMBS.GetCustomImageHeight as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 11.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Returns the heigh of the custom picture in pixels.
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

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Returns the file type with the given index.

Returns nil on any error.

OpenDialogMBS.Items as OpenDialogItemMBS()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 20.0 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Queries items picked.

Currently only provided for Windows to get name, path, URL or data for items, which may not always have a file path.

OpenDialogMBS.RefreshCustomImage

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 11.0 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Call this method after you set the custompicture property to update the window.

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

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS Util Plugin 4.2 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop only
Shows the dialog.
Example
dim o as new OpenDialogMBS
o.ShowDialog

Check the FileCount property to see whether something was selected.

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...