Sign in Join
FPDoc Onlineexperiment

TApplication.NotifyDeactivateHandler procedure

Member of TApplicationprotectedIn unit Forms

Notifies all Deactivate handlers for the application.

Declaration

pascal
procedure 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.