RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringGrid.Destroy Destructor

Destroys an instance of TStringGrid.

Pascal
destructor Destroy; override;
C++
virtual __fastcall ~TStringGrid();

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the string grid is not nil, and only then calls Destroy. 

Destroy frees the helper objects used to manage the array of strings and their associated objects. 

 

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