RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGridStrings.Clear Method

Replaces all strings in the list with empty strings.

Pascal
procedure Clear; override;
C++
virtual __fastcall Clear();

Call Clear to remove all strings from the list, including any references to associated objects. Clear replaces every string with an empty string and every object reference with nil (Delphi) or NULL (C++). 

Note that Clear does not free the objects that are associated with strings in the list. 

 

Delete 

Objects 

Strings

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