BevelButton.Value
From Xojo Documentation
Property (As Boolean )
aBevelButton.Value = newBooleanValue
or
BooleanValue = aBevelButton.Value
Supported for all project types and targets.
or
BooleanValue = aBevelButton.Value
Supported for all project types and targets.
If True, the button appears depressed.
Sample Code
This code is in the Action event of a CheckBox. It toggles the state of the BevelButton depending on whether the CheckBox was checked.