DesktopWindow.BackgroundColor

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

The background color for the object. The HasBackgroundColor property, must be set to True to have the BackgroundColor displayed.


Sample Code

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

Me.HasBackgroundColor = True
Me.BackgroundColor = &c110034