WebMessageDialog

From Xojo Documentation

Class (inherits from WebUIControl)


New in 2020r1

A configurable version of the MessageBox dialog.

Events
ButtonPressed ContextualMenuSelected Opening
Closed Hidden Shown
Properties
ActionButton fa-lock-32.png Left Parent fa-lock-32.png
AlternateActionButton fa-lock-32.png LockBottom fa-lock-32.png Style
CancelButton fa-lock-32.png LockHorizontal fa-lock-32.png TabIndex
ContextualMenu LockLeft fa-lock-32.png Title
ControlID fa-lock-32.png LockRight fa-lock-32.png Tooltip
Enabled LockVertical fa-lock-32.png Top
Explanation Message Visible
Height Name fa-lock-32.png Width
Indicator Page fa-lock-32.png
Methods
Close GotoURL Show
ExecuteJavaScript SetFocus UpdateBrowser

Notes

The AlternateActionButton and the CancelButton are not visible by default. They each have a Visible property that will need to be set to True to make them visible to the end user.

The image below displays a WebMessageDialog where each part is labeled with the property that is displayed in that location:

WebMessageDialog.png

Compatibility

Web projects on Linux, macOS and Windows.

See Also

WebMessageDialogButton class and MessageBox function.