Sign in Join
FPDoc Onlineexperiment

TControl.Notification procedure

Member of TControlprotectedIn unit Controls

Notification handler for insertion or deletion of components.

Declaration

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

Arguments

AComponent

The component being inserted or removed.

Operation

The action (opInsert or opRemove).

Description

First, the inherited TComponent.Notification is called to notify all attached notification handlers.

If Operation is opRemove, additional actions are performed, depending on AComponent: the PopupMenu, Action, or anchors for the removed control are detached.

See also

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