Three Button Dialog
- Updated2023-02-17
- 4 minute(s) read
Three Button Dialog
Displays a dialog box that contains a custom message and three buttons.
Inputs/Outputs

message text justification
Value specifying how to justify the text in the dialog box.
| left |
Justifies the text to the left. |
| center |
Centers the text. |
| right |
Justifies the text to the right. |
Default value: left

window title
The text to display in the title bar of the dialog box.
Default value: Empty string

message
The text to display in the dialog box.

left button text
The text to display on the left button in the dialog box.
If you wire an empty string to this input, the dialog box omits the corresponding button.
Default value: Yes

center button text
The text to display on the center button in the dialog box.
If you wire an empty string to this input, the dialog box omits the corresponding button.
Default value: No

right button text
The text to display on the right button in the dialog box.
If you wire an empty string to this input, the dialog box omits the corresponding button.
Default value: Cancel

keyboard shortcuts
Customizable keyboard shortcuts for each button in the dialog box.
Default value: <Enter> for the left button and no shortcuts for the center and right buttons.

left button shortcut
Keyboard shortcut for the left button.

with control?
Boolean specifying whether the keyboard shortcut includes the <Ctrl> key.
| True | The keyboard shortcut requires the <Ctrl> key. |
| False | The keyboard shortcut does not require the <Ctrl> key. |

with shift?
Boolean indicating whether the keyboard shortcut includes the <Shift> key.
| True | The keyboard shortcut requires the <Shift> key. |
| False | The keyboard shortcut does not require the <Shift> key. |

key
The name of the shortcut key.

center button shortcut
Keyboard shortcut for the center button.

with control?
Boolean specifying whether the keyboard shortcut includes the <Ctrl> key.
| True | The keyboard shortcut requires the <Ctrl> key. |
| False | The keyboard shortcut does not require the <Ctrl> key. |

with shift?
Boolean indicating whether the keyboard shortcut includes the <Shift> key.
| True | The keyboard shortcut requires the <Shift> key. |
| False | The keyboard shortcut does not require the <Shift> key. |

key
The name of the shortcut key.

right button shortcut
Keyboard shortcut for the right button.

with control?
Boolean specifying whether the keyboard shortcut includes the <Ctrl> key.
| True | The keyboard shortcut requires the <Ctrl> key. |
| False | The keyboard shortcut does not require the <Ctrl> key. |

with shift?
Boolean indicating whether the keyboard shortcut includes the <Shift> key.
| True | The keyboard shortcut requires the <Shift> key. |
| False | The keyboard shortcut does not require the <Shift> key. |

key
The name of the shortcut key.

allow user to close window?
A Boolean value that determines whether the standard window close button appears in the dialog box, which allows the user to close the dialog box without clicking the left, center, or right button.
| True | The standard window close button appears in the dialog box. |
| False | The standard window close button does not appear in the dialog box. |
Default value: True

which button
Value indicating which button the user clicked.
| left button |
The user clicked the left button. |
| center button |
The user clicked the center button. |
| right button |
The user clicked the right button. |
| window close |
The user closed the dialog box without clicking the left, center, or right button. |