PushButton.ButtonStyle

From Xojo Documentation

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


Design Property (as Integer)

This PushButton property can only be set in the Inspector and is not available in code.

Applies the selected button style to the PushButton. This is a macOS-only property. You can only set the ButtonStyle Property in the IDE, not in code.


Notes

The styles are not shown in the Layout Editor in the IDE, but you'll see them in your macOS app when you run it.

ButtonStyle accepts the following values:

Value Description
0 Push
1 Gradient
3 Recessed
4 Textured
5 Rounded Textured
6 Square
7 Bevel
8 Round
9 Help, leave the Caption property blank.

See Also

PushButton