DesktopBevelButton.BackgroundColor

From Xojo Documentation

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

Property (As Color )
aDesktopBevelButton.BackgroundColor = newColorValue
or
ColorValue = aDesktopBevelButton.BackgroundColor

New in 2021r3

Supported for all project types and targets.

The background color for the control. If the control has a HasBackgroundColor property, it must be set to True for the BackgroundColor to be displayed.

Sample Code

This code sets the HasBackgroundColor property and sets the value of the BackgroundColor property:

Me.HasBackgroundColor = True
Me.BackgroundColor = Color.Red