Object

MessageDialogButton Class

A button in a MessageDialog box. There are three possible MessageDialogButtons: ActionButton, CancelButton, and AlternateActionButton.

Properties
Cancel
Caption
Default
Visible

# Notes

By default, only the ActionButton has its Visible property set to True. To show either of the other buttons in a MessageDialog, set their Visible properties.

# Example

See the example for MessageDialog.

# See Also

MsgBox function; MessageDialog, Window classes.