RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRadioGroup.Destroy Destructor

Destroys the TCustomRadioGroup instance and the radio buttons it contains.

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

Do not call Destroy directly in an application. Instead, call Free. Free checks that the radio group is not nil, and only then calls Destroy. 

Destroy frees the memory for each item in the group, then calls the inherited destructor. 

 

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