Sign in Join
FPDoc Onlineexperiment

TCustomFrame.SetColor procedure

Member of TCustomFrameprotectedIn unit Forms

Sets the value for the Color property.

Declaration

pascal
procedure SetColor(Value: TColor); override

Description

SetColor is an overridden method in TCustomFrame used to set the value for 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

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.