WebToolbarButton.Toggled

From Xojo Documentation

Property (As Boolean )
aWebToolbarButton.Toggled = newBooleanValue
or
BooleanValue = aWebToolbarButton.Toggled

New in 2011r2

Supported for all project types and targets.

If True, the button is in the depressed state.

Example

The following line of code in the ButtonAction event handler changes the Toggled state of the "Show" button when it is clicked:

Select Case Item.Name
Case "ShowButton"
item.Toggled = Not item.Toggled // toggles the button
End Select