Sign in Join
FPDoc Onlineexperiment

TCustomLabel.Notification procedure

Member of TCustomLabelprotectedIn unit StdCtrls

Handles a notification that a component used in the control has been added or removed.

Declaration

pascal
procedure Notification(AComponent: TComponent; Operation: TOperation)
 ; override

Arguments

AComponent

Component for the notification.

Operation

Operation for the notification.

Description

Notification is an overridden method in TCustomLabel, and calls the inherited method on entry. Notification ensures that FocusControl is set to Nil when it is the component for the opRemove Operation.

See also

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