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

TGridState

Enumerated type with grid state values.

Declaration

Source position: grids.pas line 139

type TGridState = (

  gsNormal,

  

Normal state for the grid when navigation or editing can be performed.

  gsSelecting,

  

Grid is selecting a row, column, or cell after keyboard or mouse activity.

  gsRowSizing,

  

Grid is resizing a row.

  gsColSizing,

  

Grid is resizing a column.

  gsRowMoving,

  

Grid is moving or dragging a row.

  gsColMoving,

  

Grid is moving or dragging a column.

  gsHeaderClicking,

  

A fixed header cell has been clicked in the Grid.

  gsButtonColumnClicking

  

A button in a column has been clicked.

);

Description

TGridState is an enumerated type with values that reflect the state in a grid control. TGridState values represent actions performed using a grid control, rather than the display state for rows, columns, and/or cells.

TCustomGrid maintains an internal TGridState member used to track the state for the grid control. Methods in TCustomGrid cause the value in the member to be read or updated to reflect the request and/or completion of an action in the grid control.

Use the TCustomGrid.Options and TCustomGrid.Options2 properties to determine if specific features or behaviors are enabled for a grid control.

See also

TCustomGrid

  

Implements the base class for grid controls.

TCustomGrid.Options

  

Contains the set of optional features and/or behaviors enabled for the grid control.

TCustomGrid.Options2

  

Contains additional options for scrolling and editor behavior enabled in the grid control.


Version 3.2 Generated 2024-02-25 Home