Sign in Join
FPDoc Onlineexperiment

TCustomTrayIcon.Notification procedure

Member of TCustomTrayIconprotectedIn unit ExtCtrls

Performs action when a component is added to or removed from the class instance at run-time.

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 procedure used to perform actions when a component is added or removed at run-time. Notification calls the inherited method, and ensures that the PopUpMenu for the tray icon is set to Nil when the component is removed.

See also

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