RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.DeleteRow Method

Deletes a specified from the grid.

Pascal
procedure DeleteRow(ARow: Longint); virtual;
C++
virtual __fastcall DeleteRow(Longint ARow);

Call DeleteRow to remove a row from the middle of the grid. Provide the index of the row to remove as ARow. To remove the last row from the grid, set the RowCount property instead. 

 

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