Sign in Join
FPDoc Onlineexperiment

TStringGrid.FocusColor property

Member of TStringGridpublishedIn unit Grids

The color used to draw the focus rectangle when a cell has focus.

Declaration

pascal
property FocusColor:;

Description

FocusColor is a TColor property with the color used to draw the focus rectangle (or rubber band) for the focused cell in the grid control. The default value for the property is clRed. Changing the value for the property causes the current cell at Col and Row to be redrawn.

FocusColor is used in the DrawFocusRect method when DefaultDrawing is enabled for the grid control. But it is not used when UseXORFeatures is enabled; clWhite is used as the pixel color instead.

This description is the one of Grids.TCustomDrawGrid.FocusColor.

See also

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