[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplicationProperties.Destroy

Destructor for the class instance.

Declaration

Source position: forms.pp line 1863

public destructor TApplicationProperties.Destroy; override;

Description

Destroy is the overridden destructor for the class instance. Destroy ensures that event handlers in the class instance are removed from the handlers registered in the global TApplication instance.

Remark: Event handlers are not removed from the Application variable at design-time; they were not added at design-time either.

Destroy calls the inherited destructor prior to exiting from the method.

See also

TApplicationProperties.OnActivate

  

Event handler signalled when an Activate message is handled in the application.

TApplicationProperties.OnDeactivate

  

Event handler signalled when a Deactivate message is handled in the application.

TApplicationProperties.OnException

  

Event handler signalled to handle an exception in an application.

TApplicationProperties.OnGetMainFormHandle

  

Event handler used to provide a value for the MainFormHandle property.

TApplicationProperties.OnIdle

  

Event handler signalled when the application enters the idle state.

TApplicationProperties.OnIdleEnd

  

Event handler signalled when the application leaves the Idle state.

TApplicationProperties.OnEndSession

  

Event handler signalled when a session is ended in the application.

TApplicationProperties.OnQueryEndSession

  

Event handler signalled to determine if the current session be be ended, and the application can be closed.

TApplicationProperties.OnMinimize

  

Event handler signalled when the application is minimized.

TApplicationProperties.OnModalBegin

  

Event handler signalled when a form in the application is displayed as a modal form.

TApplicationProperties.OnModalEnd

  

Event handler signalled when the last modal form for the application has been exited.

TApplicationProperties.OnRestore

  

Event handler signalled when the application is restored from a minimized / maximized state.

TApplicationProperties.OnDropFiles

  

Event handler signalled when file(s) are dropped into the application.

TApplicationProperties.OnHelp

  

Event handler signalled when help is requested in the application.

TApplicationProperties.OnHint

  

Event handler signalled when a hint is requested in the application.

TApplicationProperties.OnShowHint

  

Event handler signalled prior to displaying a hint window.

TApplicationProperties.OnUserInput

  

Event handler signalled to handle user input messages.


Version 3.2 Generated 2024-02-25 Home