DesktopBevelButton.BevelStyle

From Xojo Documentation

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

Property (As BevelStyles )
aDesktopBevelButton.BevelStyle = newBevelStylesValue
or
BevelStylesValue = aDesktopBevelButton.BevelStyle

New in 2021r3

Supported for all project types and targets.

The bevel style. This property affects the appearance and in some cases the shape of the DesktopBevelButton.

The macOS-only bevel styles appear as the Small Bevel style on other platforms.

Bevel styles and appearance varies in general between operating systems and sometimes between versions of operating systems.

Sample Code

This example sets the Bevel property to Round.

Me.BevelStyle = DesktopBevelButton.BevelStyles.Round