Skip to content

Color - DfComUIObject

The background color of the object

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer Color
Access Type Syntax
Read Access: Get Color to IntegerVariable
Write Access: Set Color to IntegerVariable/Value

Description

Determines the background color of the object. This is passed a single value representing an RGB color, which can be a constant representing a Standard Color or a System Color, or a set of R, G and B values. Individual Red, Green, and Blue colors are converted to a single value by using the RGB function.

Set Color to (rgb(255, 0, 0)) // red
Set Color to clPurple
Set Color to clBtnFace