DesktopBevelButton.ButtonStyle

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As ButtonStyles )
aDesktopBevelButton.ButtonStyle = newButtonStylesValue
or
ButtonStylesValue = aDesktopBevelButton.ButtonStyle

New in 2021r3

Supported for all project types and targets.

The style of the button.

Sample Code

This code changes the button to a "Toggles" button.

Me.ButtonStyle = DesktopBevelButton.ButtonStyles.ToggleButton