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

TApplication.NotifyDeactivateHandler

Notifies all Deactivate handlers for the application.

Declaration

Source position: forms.pp line 1579

protected procedure TApplication.NotifyDeactivateHandler;

Description

NotifyDeactivateHandler is a method used to signal all of the deactivate handlers for the application. OnDeactivate is signalled (when assigned) using the application instance as an argument.

CallNotifyEvents is executed for each of the handlers in the TMethodList for the ahtDeactivate notification type. Use AddOnDeactivateHandler and RemoveOnDeactivateHandler to maintain an additional handler for the notification type.

NotifyDeactivateHandler is called from the Deactivate method, and occurs when focus is changed to another application or the application is closed.

See also

TApplication.OnDeactivate

  

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

TApplication.AddOnDeactivateHandler

  

Adds an application deactivation handler.

TApplication.RemoveOnDeactivateHandler

  

Removes an application deactivation handler.

TApplicationHandlerType

  

Types of Application notification handlers.


Version 3.2 Generated 2024-02-25 Home