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. 

 

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