Sign in Join
FPDoc Onlineexperiment

TCustomControl.SetColor procedure

Member of TCustomControlprotectedIn unit Controls

Sets the value for the Color property

Declaration

pascal
procedure SetColor(Value: TColor); override

Description

SetColor is an overridden method in TCustomControl used to set the value in the Color property. It calls the inherited method on entry, and applies the new color value to the Brush in the control Canvas.

See also

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