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

# TCustomGrid.FocusRectVisible

Indicates if the focus rectangle is displayed for the control.

## Declaration

Source position: grids.pas line 1262

`protected property TCustomGrid.FocusRectVisible : Boolean read FFocusRectVisible write SetFocusRectVisible default True;`

## Description

FocusRectVisible is a Boolean property which indicates if the focus rectangle (or rubber band) is drawn for the focused cell, extent, or row in the grid control. Changing the value for the property causes the grid control to be redrawn. The default value for the property is True.

FocusRectVisible is used in the DrawRow method when the current cell or extent is redrawn. If row selection (roRowSelect) is included in the Options for the grid, the focus rectangle is drawn for the entire row.

Set FocusRectVisible to False to disable the feature in the control.

## See also

TCustomGrid.DrawRow |  | Draws the columns for the specified row in the grid control.