Sign in Join
FPDoc Onlineexperiment

TCustomLabel.WMActivate procedure

Member of TCustomLabelprotectedIn unit StdCtrls

Defers the focus to the control in the FocusControl property.

Declaration

pascal
procedure WMActivate(var Message: TLMActivate); message

Arguments

Message

Message examined in the method.

Description

WMActivate is a procedure used to handle LM_ACTIVATE messages for the control.

WMActivate ensures that the control in the FocusControl property receives the input focus by calling its SetFocus method. No actions are performed in the method when FocusControl has not been assigned (contains Nil) or its CanFocus method returns False.

See also

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