BackColor property

From Xojo Documentation

Revision as of 14:49, 25 October 2018 by PLefebvre (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Property (As Color )
a<see below>.BackColor = newColorValue
or
ColorValue = a<see below>.BackColor

Supported for all project types and targets.

The background color for the object. If the control has a HasBackColor property, it must be set to True to have the BackColor displayed.

Controls and classes implementing the BackColor property

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

Sample Code

This code sets the HasBackColor property and sets the value of the BackColor property:

Me.HasBackColor = True
Me.BackColor = &c110034