[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The background color for the control.
Source position: controls.pp line 1808
public property TControl.Color : TColor |
The default value in Color is the same as the value in the parent window Color. If the color is clDefault, the result will need to be passed through GetDefaultColor to resolve clDefault. Convenience routines which obtain the color by resolving clDefault and ParentColor are also provided as TControl.GetColorResolvingParent and TControl.GetRGBColorResolvingParent.
Remark: | For the macOS Carbon widgetset, setting Color to clBtnFace causes the background for the control to become transparent. |
|
Use the Color from the Parent control, when enabled. |
|
|
Gets the default color for the control. |
|
|
Returns the color of the control while resolving clDefault and ParentColor. |
|
|
Returns a RGB value for the color used on the control. |
|
|
Color type used by most LCL drawing functions. |
Version 3.2 | Generated 2024-02-25 | Home |