[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomGroupBox.SetColor

Sets the value for the Color property.

Declaration

Source position: stdctrls.pp line 172

protected procedure TCustomGroupBox.SetColor(

  Value: TColor

); override;

Arguments

Value

  

New value for the Color property.

Description

SetColor is a method used to set the value in the Color property. It calls the inherited method on entry.

When the value for the Color property is set to clDefault, or has the same value as the Color property in Parent, no additional actions are performed in the method. Otherwise, the value in ParentBackground is set to False.

See also

TCustomGroupBox.ParentBackground

  

Indicates if the control uses the background from the parent.

TControl.Color

  

The background color for the control.


Version 4.0 Generated 2025-05-03 Home