Platforms to show: All Mac Windows Linux Cross-Platform

Back to TaskDialogMBS class.

Common Buttons

TaskDialogMBS.kCommonButtonCancel = 8

Type Topic Plugin Version
const Windows MBS Win Plugin 16.2
One of the common button constants.

The 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).

TaskDialogMBS.kCommonButtonClose = 32

Type Topic Plugin Version
const Windows MBS Win Plugin 16.2
One of the common button constants.

The task dialog contains the push button: Close.

TaskDialogMBS.kCommonButtonNo = 4

Type Topic Plugin Version
const Windows MBS Win Plugin 16.2
One of the common button constants.

The task dialog contains the push button: No.

TaskDialogMBS.kCommonButtonOK = 1

Type Topic Plugin Version
const Windows MBS Win Plugin 16.2
One of the common button constants.
Example
dim td as new TaskDialogMBS

td.CommonButtons = td.kCommonButtonOK
td.Content = "Hello World"

'td.VerificationChecked = true
td.VerificationText = "Don't show again"

call td.ShowDialog

if td.VerificationChecked then
MsgBox "and we will not show again"
end if

The task dialog contains the push button: OK.

TaskDialogMBS.kCommonButtonRetry = 16

Type Topic Plugin Version
const Windows MBS Win Plugin 16.2
One of the common button constants.

The task dialog contains the push button: Retry.

TaskDialogMBS.kCommonButtonYes = 2

Type Topic Plugin Version
const Windows MBS Win Plugin 16.2
One of the common button constants.

The task dialog contains the push button: Yes.

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


The biggest plugin in space...