Sign in Join
FPDoc Onlineexperiment

TCustomGrid.DisabledFontColor property

Member of TCustomGridprotectedIn unit Grids

Color used to draw text in the grid when Enabled is set to False.

Declaration

pascal
property DisabledFontColor: TColor read FDisabledFontColor write FDisabledFontColor default clGrayText;

Description

DisabledFontColor is a TColor property with the color used to render text on the grid control when Enabled is set to False. The default value for the property is clGrayText.

DisabledFontColor is used in the PrepareCanvas method to set the font color on the Canvas when Enabled is False. It is not used in the Canvas font when it contains clNone.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.