Show: Delphi C++
Display Preferences

FMX.ListView.TPresentedListView.BeforeDestruction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure BeforeDestruction; override;

C++

virtual void __fastcall BeforeDestruction();

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.ListView.pas
FMX.ListView.hpp
FMX.ListView TPresentedListView

Description

Performs any necessary actions before the first destructor is called.

Performs any necessary actions before the first destructor is called.

FMX.ListView.TPresentedListView.BeforeDestruction inherits from System.Classes.TComponent.BeforeDestruction. All content below this line refers to System.Classes.TComponent.BeforeDestruction.

Performs any necessary actions before the first destructor is called.

BeforeDestruction is called automatically immediately before the component's first destructor executes. Do not call it explicitly in your applications.

As implemented in TComponent, BeforeDestruction checks whether the Destroying method has been called, and if not, calls it. Descendants that override this method to perform other actions before a component is destroyed should call the inherited method first to ensure that this check takes place.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance