Sign in Join
FPDoc Onlineexperiment

TCustomButton.Color property

Member of TCustomButtonpublicIn unit StdCtrls

Color used for the button face.

Declaration

pascal
property Color:  default clDefault;

Description

Color is a TColor property with color used for the surface (or face) on the button control. The default value for the property in TCustomButton is clDefault or clBtnFace, depending on the platform or widgetset.

Changes made to the Color for the control or its Font are ignored in TCustomButton. It is always drawn using the color(s) needed for the platform or widgetset.

See also

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