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