BackgroundColor

From Xojo Documentation

Revision as of 14:59, 7 October 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Color )
a<see below>.BackgroundColor = newColorValue
or
ColorValue = a<see below>.BackgroundColor

New in 2019r2

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.

Controls and classes implementing the BackgroundColor property

BevelButton Windows and Linux only New in 2009r4
ReportField
ReportLabel
ReportPicture
TextEdit
Window

Sample Code

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

Me.HasBackgroundColor = True
Me.BackgroundColor = &c110034