Window.BackgroundColor
From Xojo Documentation
Property (As Color )
aWindow.BackgroundColor = newColorValue
or
ColorValue = aWindow.BackgroundColor
New in 2019r2
Supported for all project types and targets.
or
ColorValue = aWindow.BackgroundColor
New in 2019r2
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 Window.HasBackgroundColor property and sets the value of the BackgroundColor property: