API:Vcl.CheckLst.TCheckListBox.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TCheckListBox();

Properties

Type Visibility Source Unit Parent
destructor public
Vcl.CheckLst.pas
Vcl.CheckLst.hpp
Vcl.CheckLst TCheckListBox

Description

Destroys the instance of a list box control.

Vcl.CheckLst.TCheckListBox.Destroy inherits from Vcl.StdCtrls.TCustomListBox.Destroy. All content below this line refers to Vcl.StdCtrls.TCustomListBox.Destroy.

Destroys the instance of a list box control.

Do not call Destroy directly in an application. Instead, an application should call Free. Free checks that the list box reference is not nil before it calls Destroy.

Destroy frees the memory associated with the objects for the Canvas and Items properties. Then it calls the inherited destructor to destroy the list box object.

See Also