RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Grids.TGridState Enumeration

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

Pascal
TGridState = (
  gsNormal,
  gsSelecting,
  gsRowSizing,
  gsColSizing,
  gsRowMoving,
  gsColMoving
);
C++
enum TGridState {
  gsNormal,
  gsSelecting,
  gsRowSizing,
  gsColSizing,
  gsRowMoving,
  gsColMoving
};

Grids

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.  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!