[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 1260

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

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 as assigned in the Create constructor.

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.


Version 3.2 Generated 2024-02-25 Home