Sign in Join
FPDoc Onlineexperiment

TCustomGrid.FocusRectVisible property

Member of TCustomGridprotectedIn unit Grids

Indicates if the focus rectangle is displayed for the control.

Declaration

pascal
property 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

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