WebToolbar.ButtonAction

From Xojo Documentation

Event


WebToolbar.ButtonAction(Item as WebToolbarButton)

New in 2011r2

Supported for all project types and targets.

Called when the toolbar button Item was clicked.

Example

This code determines which of two WebToolbarButtons was clicked.

Select Case Item.Name
Case "Open"
MessageBox("You clicked the Open Button.")
Case "Save"
MessageBox("You clicked the Save Button.")
End Select

See Also

WebToolbarButton