DesktopTextControl.BackgroundColor

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

The background color for the control.

Sample Code

This code sets the value of the BackgroundColor property:

Me.BackgroundColor = Color.Red