Platforms to show: All Mac Windows Linux Cross-Platform
Back to OpenDialogMBS class.
OpenDialogMBS.accessoryView as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Only for Cocoa target. Must be a NSViewMBS or subclass.
The custom object that is added appears just above the OK and Cancel buttons at the bottom of the panel. The open panel automatically resizes itself to accommodate the view. You can invoke this method repeatedly to change the accessory view as needed. If view is nil, the panel removes the current accessory view.
(Read and Write property)
OpenDialogMBS.ActionButtonLabel as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Used only on Mac OS.
For RB 4.5 and earlier you need to make sure the encoding is set correctly.
Can be set to "" to use the default value.
(Read and Write property)
Some examples using this property:
OpenDialogMBS.AllowFolderSelection as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 7.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Default is false.
Setting this to true on Windows or Linux has no effect there.
(Read and Write property)
OpenDialogMBS.CancelButtonLabel as String Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Used only on Mac OS Carbon.
Can be set to "" to use the default value.
Deprecated as no longer needed for Windows, Linux or MacOS Cocoa.
(Read and Write property)
OpenDialogMBS.ClientName as String Deprecated
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
Used only on Mac OS Carbon.
Can be set to "" to use the default value.
Deprecated as no longer needed for Windows, Linux or MacOS Cocoa.
(Read and Write property)
OpenDialogMBS.Creator as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This property is only used Mac OS if you specify one or more file types.
(Read and Write property)
OpenDialogMBS.CustomPicture as Picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
You need to call RefreshCustomImage to refresh the picture visible to the user.
(Read and Write property)
OpenDialogMBS.File as FolderItem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
file = files(0)
Just for the cases where you only need the first file.
(Read only property)
OpenDialogMBS.FileCount as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read only property)
OpenDialogMBS.InitialDirectory as FolderItem
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | Desktop only |
Set to nil to get the last directory used.
(Read and Write property)
OpenDialogMBS.Lasterror as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read and Write property)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
-1 is for the default position.
Used only on the Mac side.
(Read and Write property)
OpenDialogMBS.MultipleSelection as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
(Read and Write property)
OpenDialogMBS.ParentWindow as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 6.3 | ❌ No | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Only implemented for Windows and Linux.
Can reference a Window or DesktopWindow object.
(Read and Write property)
OpenDialogMBS.PromptText as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
For RB 4.5 and earlier you need to make sure the encoding is set correctly.
Can be set to "" to use the default value.
(Read and Write property)
Some examples using this property:
OpenDialogMBS.ResolveAliases as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
This property is only used on Mac OS X.
Default is true.
Flag seems to be broken on Mac OS X 10.7.
(Read and Write property)
OpenDialogMBS.ShowHiddenFiles as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Default is false.
(Read and Write property)
Some examples using this property:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
-1 is for the default position.
Used only on the Mac side.
(Read and Write property)
OpenDialogMBS.TreatFilePackagesAsDirectories as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
If true, the panel will display file packages as directories; if false, it will not.
(Read and Write property)
OpenDialogMBS.UseCustomPicture as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 11.0 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Specify the size of the area you want. As the size is relative to the font size of the system font on windows, the results can be interesting. For example a value of 50 gives here a 72 pixel height area. Value can be from 1 to 100. Or zero to disable.
This method was added for a client who needed to show a small preview of a project file in the open dialog on Windows.
For Mac OS X you can use the NSSavePanelMBS/NSOpenPanelMBS with an accessory view.
(Read and Write property)
OpenDialogMBS.WindowTitle as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS Util Plugin | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop only |
Can be set to "" to use the default value.
Not shown on MacOS.
(Read and Write property)
The items on this page are in the following plugins: MBS Util Plugin.