RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.DeleteColumn Method

Deletes a specified column from the grid.

Pascal
procedure DeleteColumn(ACol: Longint); virtual;
C++
virtual __fastcall DeleteColumn(Longint ACol);

Call DeleteColumn to remove a column from the middle of the grid. Provide the index of the column to remove as ACol. To remove the last column from the grid, set the ColCount property instead. 

 

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