WebMessageDialog.AlternateActionButton
From Xojo Documentation
Read-Only Property (As WebMessageDialogButton )
WebMessageDialogButtonValue = aWebMessageDialog.AlternateActionButton
New in 2020r1
Supported for all project types and targets.
New in 2020r1
Supported for all project types and targets.
The secondary button for the WebMessageDialog.
Notes
Even though this property is read-only, it has a WebMessageDialogButton instance assigned to it which you can modify.
The AlternateActionButton is invisible by default thus you will need to set its Visible property to True before displaying the dialog in order to see it.
Sample Code
This example makes the button visible and changes the caption to "Not Now":
myDialog.AlternateActionButton.Visible = True
myDialog.AlternateActionButton.Caption = "Not Now"
myDialog.AlternateActionButton.Caption = "Not Now"
See Also
WebMessageDialogButton class, ActionButton and CancelButton properties.