Platforms to show: All Mac Windows Linux Cross-Platform

Next items

TaskDialogMBS.AllowDialogCancellation as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Whether to allow cancel.
Notes:
Indicates that the dialog should be able to be closed using Alt-F4, Escape, and the title bar's close button even if no cancel button is specified in either the CommonButtons or Buttons members.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.CanBeMinimized as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Indicates that the task dialog can be minimized.
Notes: (Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.CollapsedControlText as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The string to be used to label the button for expanding the expandable information.
Notes:
This member is ignored when the ExpandedInformation member is empty. If this member is empty and the CollapsedControlText is specified, then the CollapsedControlText value will be used for this member as well.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.CommonButtons as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Specifies the push buttons displayed in the task 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:
If no common buttons are specified and no custom buttons are specified through buttons array, the task dialog will contain the OK button by default. This parameter may be a combination of flags from the following group:

kCommonButtonOKThe task dialog contains the push button: OK.
kCommonButtonYesThe task dialog contains the push button: Yes.
kCommonButtonNoThe task dialog contains the push button: No.
kCommonButtonCancelThe task dialog contains the push button: Cancel. If this button is specified, the task dialog will respond to typical cancel actions (Alt-F4 and Escape).
kCommonButtonRetryThe task dialog contains the push button: Retry.
kCommonButtonCloseThe task dialog contains the push button: Close.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.Content as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The string to be used for the dialog's primary content.
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:
If the EnableHyperlinks flag is true, then this string may contain hyperlinks in the form: <A HREF="executablestring">Hyperlink Text</A>.
WARNING: Enabling hyperlinks when using content from an unsafe source may cause security vulnerabilities.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.DefaultButton as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The default button for the task dialog.
Notes:
This may be any of the values specified in ID of one of the buttons, or one of the IDs corresponding to the buttons specified in the CommonButtons property.

kIDCancelMake the Cancel button the default.
kIDNoMake the No button the default.
kIDOkMake the OK button the default.
kIDRetryMake the Retry button the default.
kIDYesMake the Yes button the default.
kIDCloseMake the Close button the default.

You can also mark buttons default with their default flag.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.DefaultRadioButton as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The button ID of the radio button that is selected by default.
Notes:
If this value does not correspond to a button ID, the first button in the array is selected by default.
You can also mark buttons default with their default flag.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.DialogHandle as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The handle of the dialog.
Notes:
This is only valid (and non zero) while dialog is visible.
(Read only property)

Feedback, Comments & Corrections

TaskDialogMBS.EnableHyperlinks as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Whether to enable hyperlinks.
Notes:
Enables hyperlink processing for the strings specified in the Content, ExpandedInformation and Footer members. When enabled, these members may point to strings that contain hyperlinks in the following form:

<A HREF="executablestring">Hyperlink Text</A>

Warning: Enabling hyperlinks when using content from an unsafe source may cause security vulnerabilities.

Note: Task Dialogs will not actually execute any hyperlinks. Hyperlink execution must be handled in the HyperlinkClicked event.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.ExpandedByDefault as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Indicates that the string specified by the ExpandedInformation member is displayed when the dialog is initially displayed.
Notes:
This flag is ignored if the ExpandedInformation member is empty.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.ExpandedControlText as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The string to be used to label the button for collapsing the expandable information.
Notes:
This member is ignored when the ExpandedInformation member is empty. If this member is empty and the CollapsedControlText is specified, then the CollapsedControlText value will be used for this member as well.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.ExpandedInformation as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The string to be used for displaying additional information.
Notes:
The additional information is displayed either immediately below the content or below the footer text depending on whether the ExpandFooterArea flag is true. If the EnableHyperlinks flag is true, then this string may contain hyperlinks in the form: <A HREF="executablestring">Hyperlink Text</A>.
WARNING: Enabling hyperlinks when using content from an unsafe source may cause security vulnerabilities.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.ExpandFooterArea as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Whether expand footer area is displayed at the bottom.
Notes:
Indicates that the string specified by the ExpandedInformation member is displayed at the bottom of the dialog's footer area instead of immediately after the dialog's content. This flag is ignored if the ExpandedInformation member is empty.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.Flags as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The flags.
Notes:
You should not need to set flags as we have properties for all relevant flags.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.Footer as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The string to be used in the footer area of the task dialog.
Notes:
If EnableHyperlinks is true, this can show clickable links.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.FooterIconPicture as Picture
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: A picture to be used as Icon that is to be displayed in the footer of the task dialog.
Notes:
The picture must have a valid mask.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.Icon as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The icon to be displayed in the task dialog.
Notes:
Can be one of the kIcon* constants.
Or you set IconPicture property.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.IconPicture as Picture
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The icon to be displayed in the task dialog.
Notes:
The picture must have a valid mask.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.MainInstruction as String
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The string to be used for the main instruction.
Notes: (Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.NoDefaultRadioButton as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Indicates that no default item will be selected.
Notes: (Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.parent as Window
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Parent window.
Notes: (Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.parentHandle as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Parent window handle.
Notes: (Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.PositionRelativeToWindow as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Indicates that the task dialog is positioned (centered) relative to the window specified by parent.
Notes:
If the flag is not supplied (or no parent member is specified), the task dialog is positioned (centered) relative to the monitor.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.ProgressbarMax as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The maximum of progress bar.
Notes:
Default is 100.
This is a live property. Setting it while dialog is open will change the control.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.ProgressbarMin as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The minimum value of the progress bar.
Notes:
This is a live property. Setting it while dialog is open will change the control.
(Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.ProgressbarState as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The state of the progress bar.
Notes:
Default kProgressbarNone.
Can be set to other states to turn on progressbar.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.ProgressbarValue as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The current value of the progress bar.
Notes:
This is a live property. Setting it while dialog is open will change the control.
(Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

TaskDialogMBS.RightToLeftLayout as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: Indicates that text is displayed reading right to left.
Notes: (Read and Write property)

Feedback, Comments & Corrections

TaskDialogMBS.SelectedButton as Integer
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Windows MBS Win Plugin 16.2 ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
Function: The ID of the clicked button.
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: (Read and Write property)

Some examples using this property:

Feedback, Comments & Corrections

Next items

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

The biggest plugin in space...




Links
MBS Xojo Plugins

Start Chat