Vcl.Grids.TCustomGrid.DeleteColumn
Delphi
procedure DeleteColumn(ACol: Longint); virtual;
C++
virtual void __fastcall DeleteColumn(int ACol);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Grids.pas Vcl.Grids.hpp |
Vcl.Grids | TCustomGrid |
Description
Deletes a specified column from the grid.
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.