Class
WebMessageDialogButton
Description
The type of button that appears in the WebMessageDialog.
Property descriptions
WebMessageDialogButton.Cancel
Cancel As Boolean
Set to True to indicate that the button will respond to the Esc key and, on macOS, pressing the Command-period sequence.
Only one button can be the Cancel button. Some operating systems do not allow one button to be both the Cancel and Default buttons.
WebMessageDialogButton.Caption
Caption As String
The text displayed in the button.
WebMessageDialogButton.Default
Default As Boolean
Set to True to highlight the button as the default button in the WebMessageDialog. By default, the ActionButton's Default property is True.
The Default button will respond to the Enter and Return keys. Only one button can be the Default button. Some operating systems do not allow one button to be both the Default and Cancel buttons.
WebMessageDialogButton.Visible
Visible As Boolean
Set to True to show the button.
Only the ActionButton is shown by default. It has no effect on the ActionButton.
Compatibility
Web projects on all supported operating systems.
See also
WebMessageDialog parent class; WebMessageDialog class.