[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Sets the value for the Color property.
Source position: controls.pp line 1451
protected procedure TControl.SetColor( |
Value: TColor |
); virtual; |
Value |
|
New value for the Color property. |
SetColor is a method used to set the value for the Color property to the specified TColor value. Assigning a value to Color causes the ParentColor property to be set to False.
SetColor calls Perform to send a CM_COLORCHANGED control message to the widgetset class. Invalidate is called to force the control to be redrawn.
|
The background color of the control. |
lazarus-ccr.sourceforge.net |