DesktopWindow.HasBackgroundColor

From Xojo Documentation

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

Property (As Boolean )
aDesktopWindow.HasBackgroundColor = newBooleanValue
or
BooleanValue = aDesktopWindow.HasBackgroundColor

New in 2021r3

Supported for all project types and targets.

If True, the background color of the window is set to the value of the BackgroundColor property.

Notes

This property must be set in order for the value of the BackgroundColor property to be applied to the window.

Example

This example sets the HasBackgroundColor property and sets the value of the BackgroundColor property.

Me.HasBackgroundColor = True
Me.BackgroundColor = &c110034