API:Vcl.DBCtrls.TDBListBox.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TDBListBox(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | Vcl.DBCtrls.pas Vcl.DBCtrls.hpp |
Vcl.DBCtrls | TDBListBox |
Description
Destroys the instance of a list box control.
Vcl.DBCtrls.TDBListBox.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.