Sign in Join
FPDoc Onlineexperiment

TCustomForm.OnDeactivate property

Member of TCustomFormpublicIn unit Forms

Handler signalled when the form is deactivated (loses focus).

Declaration

pascal
property OnDeactivate: TNotifyEvent read FOnDeactivate write FOnDeactivate;

Description

OnDeactivate is a TNotifyEvent property which contains an event handler signalled when a form is deactivated (loses focus). OnDeactivate is signalled from the Deactivate method (when assigned), and occurs when the CM_DEACTIVATE message is handled in the CMDeactivate method. OnDeactivate is signalled each time the focus is changed from the current form instance to another form instance in the application.

See also

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