RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGridStrings.Delete Method

Prevents strings from being deleted.

Pascal
procedure Delete(Index: Integer); override;
C++
virtual __fastcall Delete(int Index);

Because TStringGridStrings objects represent the rows or columns of a string grid, the number of entries in the list must correspond exactly to the number of cells in the corresponding row or column. Rather than allow entries to be deleted, destroying this correspondence, Delete raises an EInvalidGridOperation exception. 

 

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