Vcl.Buttons.TNavButton.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TNavButton(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| destructor | public | Vcl.Buttons.pas Vcl.Buttons.hpp |
Vcl.Buttons | TNavButton |
Description
Destroys an instance of TSpeedButton. {{#multireplace:Vcl.Buttons.TNavButton.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.Buttons.TSpeedButton.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.Buttons.TSpeedButton.Destroy|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Destroys an instance of TSpeedButton.
Do not call Destroy directly in an application. Instead, call Free. Free verifies that the speed button is not nil, and only then calls Destroy.