Returns a RGB value for the color used on the control.
Source position: controls.pp line 1604
public function TControl.GetRGBColorResolvingParent: TGraphicsColor; |
GetRGBColorResolvingParent is a convenience routine used to get an RGB color value for the background on the control. It calls GetColorResolvingParent to translate the clDefault color value to the Brush color in a Parent control. It calls ColorToRGB to convert a color constant to its numeric equivalent and to remove any alpha channel information in the color value.
|
The background color of the control. |
|
|
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. |
|
|
Converts a TColor value to an RGB color constant. |
CT Web help |
CodeTyphon Studio |