[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Grids' (#lcl)

TCustomGrid.DisabledFontColor

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

Declaration

Source position: grids.pas line 1241

protected property TCustomGrid.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

TCustomGrid.PrepareCanvas

  

Prepares the canvas for drawing the cell at the specified location.

TColor

  

Color type used by most LCL drawing functions.

TCustomControl.Canvas

  

The drawing surface for the control.

TControl.Enabled

  

Determines whether the control responds to mouse or keyboard input.


Version 4.0 Generated 2025-05-03 Home