Platforms to show: All Mac Windows Linux Cross-Platform

TaskDialogMBS.AppendButton(button as TaskDialogButtonMBS)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Adds a button.
Example:
dim td as TaskDialogMBS

dim b as new TaskDialogButtonMBS
b.Text = "Hello"
b.ID = 123

td.AppendButton b

Some examples using this method:

Feedback, Comments & Corrections

TaskDialogMBS.AppendRadioButton(button as TaskDialogButtonMBS)
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Adds a radio button.
Example:
dim td as TaskDialogMBS

dim b as new TaskDialogButtonMBS
b.Text = "Hello"
b.ID = 123

td.AppendRadioButton b

Some examples using this method:

Feedback, Comments & Corrections

TaskDialogMBS.Button(index as Integer) as TaskDialogButtonMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Array of the custom buttons that are to be displayed in the task dialog.
Notes:
You can create TaskDialogButtonMBS objects and assign them to indexes in the array.
(Read and Write computed property)

Feedback, Comments & Corrections

TaskDialogMBS.CloseDialog
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Closes the dialog.

Feedback, Comments & Corrections

TaskDialogMBS.FindButtonByID(ID as Integer) as TaskDialogButtonMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Finds button by ID.
Notes:
This searches buttons and radiobuttons for given ID.
It will not find common buttons.
Returns button if found or nil if not found.

Some examples using this method:

Feedback, Comments & Corrections

TaskDialogMBS.RadioButton(index as Integer) as TaskDialogButtonMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Array of the custom radio buttons that are to be displayed in the task dialog.
Notes:
You can create TaskDialogButtonMBS objects and assign them to indexes in the array.
(Read and Write computed property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.ShowDialog as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Shows the dialog.
Example:
dim td as new TaskDialogMBS

td.CommonButtons = BitwiseOr(td.kCommonButtonOK, td.kCommonButtonCancel)
td.Content = "Hello World"

if td.ShowDialog then

if td.SelectedButton = td.kIDOK then
MsgBox "OK"
else
MsgBox "Cancel"
end if

else
MsgBox "Failed"
end if
Notes:
Returns true if everything worked right.
Returns false if creation of dialog failed.

Requires Windows Vista or newer.

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS Xojo PDF Plugins

Start Chat