Platforms to show: All Mac Windows Linux Cross-Platform
Back to WinFileDialogMBS class.
WinFileDialogMBS.AddCheckButton(ControlID as Integer, label as String, Checked as boolean = false)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the check button to add.
Label: the button text.
Checked: A boolean indicating the current state of the check button. True if checked; false otherwise.
The default state for this control is enabled and visible.
Some examples using this method:
WinFileDialogMBS.AddComboBox(ControlID as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the combo box to add.
The default state for this control is enabled and visible.
Some examples using this method:
WinFileDialogMBS.AddControlItem(ControlID as Integer, ItemID as Integer, Label as String)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the container control to which the item is to be added.
ItemID: The ID of the item.
Label: The item's text, which can be either a label or, in the case of a drop-down list, the item itself.
The default state for this item is enabled and visible. Items in control groups cannot be changed after they have been created, with the exception of their enabled and visible states.
Container controls include option button groups, combo boxes, drop-down lists on the Open or Save button, and menus.
Some examples using this method:
WinFileDialogMBS.AddEditBox(ControlID as Integer, Text as String = "")
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the edit box to add.
Text: The default text displayed in the edit box.
The default state for this control is enabled and visible.
To add a label next to the edit box, place it in a visual group with StartVisualGroup.
Some examples using this method:
WinFileDialogMBS.AddMenu(ControlID as Integer, Label as String)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the menu to add.
Label: The menu name.
The default state for this control is enabled and visible.
To add items to this control, use AddControlItem.
WinFileDialogMBS.AddPlace(Item as WinShellItemMBS, top as boolean = false)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
Item: the folder to be made available to the user. This can only be a folder.
Top: Specifies where the folder is placed within the list. Pass true for top or false for bottom.
WinFileDialogMBS.AddPushButton(ControlID as Integer, Label as String)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the button to add.
Label: the button text
The default state for this control is enabled and visible..
WinFileDialogMBS.AddRadioButtonList(ControlID as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the option button group to add.
The default state for this control is enabled and visible.
WinFileDialogMBS.AddSeparator(ControlID as Integer)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The control ID of the separator.
The default state for this control is enabled and visible.
WinFileDialogMBS.AddText(ControlID as Integer, Text as String = "")
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
ControlID: The ID of the text to add.
Text: The text to show.
The default state for this control is enabled and visible.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.