From Xojo Documentation

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

Design Property (as Integer)

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

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


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.

You can determine which style is set by comparing it with DesktopButton.MacButtonStyles.

See Also