[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomLabel.WMActivate

Defers the focus to the control in the FocusControl property.

Declaration

Source position: stdctrls.pp line 1583

protected procedure TCustomLabel.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

TCustomLabel.FocusControl

  

The control associated with the label and its accelerator key (AccelChar).

TWinControl.CanFocus

  

Is this control allowed to receive the focus when parent form is visible?

TWinControl.SetFocus

  

Ensures that the control or window handle has focus.


Version 3.2 Generated 2024-02-25 Home