RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.AdjustSize Method

Adds or deletes rows or columns from the grid.

Pascal
procedure AdjustSize(Index: Longint; Amount: Longint; Rows: Boolean); dynamic; reintroduce;
C++
__fastcall AdjustSize(Longint Index, Longint Amount, Boolean Rows);

Grid components call AdjustSize internally to fix up the number of rows or columns when the user resizes them using the mouse. Index is the index of the row or column where the insertion or deletion should begin. Amount is the number of rows or columns to insert (Amount > 0) or delete (Amount < 0). Rows is a boolean that indicates whether the rows or the columns are changing. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!