[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The color used to draw the focus rectangle when a cell has focus.
Source position: grids.pas line 1260
protected property TCustomGrid.FocusColor : TColor |
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.
|
Draws the focus rectangle for the specified cell. |
|
|
When True, the dotted focus rectangle is painted using an XOR raster operation. |
Version 4.0 | Generated 2025-05-03 | Home |