[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Contains the color used for the background on the control.
Source position: stdctrls.pp line 1612
public property TCustomLabel.Color : TColor; |
Color is TColor property with the background color for the control.
Setting a new value for the property causes the value in ParentColor to be set to False. A CM_COLORCHANGED control message is performed, and the control is redrawn.
Values in Color and Font are used when the background and text for the control are drawn in the Paint method. Color is used when Transparent is set to False and the color value is not clNone. Use the Font property to assign the typeface and color used for the text displayed on the control.
Remark: | By default, label controls are transparent in the LCL. This differs from the Delphi VCL where the default value for Transparent is False. |
Set Transparent to False to make the label opaque.
|
Performs actions needed to draw the control on its Canvas. |
|
|
Indicates whether the viewer can see through the control. |
|
|
The background color for the control. |
|
|
The font to be used for text display in this control. |
Version 3.2 | Generated 2024-02-25 | Home |