Vcl.Grids.TGridState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TGridState = (gsNormal, gsSelecting, gsRowSizing, gsColSizing,
gsRowMoving, gsColMoving);

C++

enum DECLSPEC_DENUM TGridState : unsigned char { gsNormal, gsSelecting, gsRowSizing, gsColSizing, gsRowMoving, gsColMoving };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids Vcl.Grids

Description

TGridState indicates any user actions that are currently changing the layout of the grid.

TGridState represents state information about how the grid layout is changing. The following table lists the possible values:



Value Meaning

gsNormal

The grid layout is not changing.

gsSelecting

The user is selecting a cell or row.

gsRowSizing

The user is changing the height of a row.

gsColSizing

The user is changing the width of a column.

gsRowMoving

The user is dragging a row to a new position.

gsColMoving

The user is dragging a column to a new position.