Vcl.ExtCtrls.TPanel.Color
Delphi
property Color: TColor read FColor write SetColor stored IsColorStored default -16777201;
C++
__property Color = {default=-16777201};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.ExtCtrls.pas Vcl.ExtCtrls.hpp |
Vcl.ExtCtrls | TPanel |
Description
Specifies the background color of the control.
Vcl.ExtCtrls.TPanel.Color inherits from Vcl.Controls.TControl.Color. All content below this line refers to Vcl.Controls.TControl.Color.
Specifies the background color of the control.
Use Color to read or change the background color of the control.
If a control's Vcl.Controls.TControl.ParentColor property is True, then changing the Color property of the control's parent automatically changes the Color property of the control. When the value of the Color property is changed, the control's ParentColor property is automatically set to False.
The Color of a TLabel is always the color of the background unless you set TLabel.Transparent to False.