Sign in Join
FPDoc Onlineexperiment

TCustomForm.WMActivate procedure

Member of TCustomFormprotectedIn unit Forms

Handles the LM_ACTIVATE message which activates or deactivates the form.

Declaration

pascal
procedure WMActivate(var Message: TLMActivate); message

Arguments

Message

Control message examined in the method.

Description

Calls SetActive to update the value in the Active property to reflect the value for the Active member in Message.

When the form is being de-activated, the Deactivate method in Application is called. Otherwise, the Activate method in Application is called. The UpdateShowInTaskBar method is called ShowInTaskBar to determine the effective visibility for the form in the task bar.

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