TCustomForm.CMDeactivate procedure
Handles the CM_DEACTIVATE control message for the form.
Declaration
procedure CMDeactivate(var Message: TLMessage); messageArguments
Message | Control message processed in the method. |
Description
This message occurs when the form loses focus within the application.
Calls the Deactivate method to signal the OnDeactivate event handler (when assigned). Ensures that the Menu merged to the application MainForm during activation is removed from the Menu for the Application. This action is not performed at design-time, or when Menu has not been assigned. It applies to a form using the fsMDIChild form style in an application using the fsMDIForm style in its MainForm.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
