[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Represents color constants in the LCL.
Source position: lcltype.pp line 1672
type COLORREF = System.UITypes.TColorRef; |
COLORREF is the type used for color constants defined in the LCL. It is interchangeable with the TColorRef type; TColorRef is an alias for COLORREF.
The base type used for the definition is dependent on the compiler version used to build the LCL. Starting in FPC version 3.2.3, the base type is the TColorRef type defined in the System.UITypes namespace in the FPC run-time library (RTL). For previous compiler versions, the base type is Cardinal.
This is done to prevent type conflicts when both System.UITypes and LCL units are used.
Values in COLORREF (and TColorRef) are normally OR-ed with the value $80000000 to prevent interference with other MS color enumeration values.
|
Represents color constants in the LCL. |
Version 3.2 | Generated 2024-02-25 | Home |