Sign in Join
FPDoc Onlineexperiment

TListWithEvent.Notify procedure

Member of TListWithEventprotectedIn unit LCLType

Handles the notification when a value is added to or removed from the list.

Declaration

pascal
procedure Notify(Ptr: Pointer; AnAction: TListNotification); override

Arguments

Ptr

Untyped pointer to the value for the notification.

AnAction

Operation performed for the specified value.

Description

Notify is an overridden method in TListWithEvent. It calls the inherited method to notify registered observers of the change to the list. It signals the OnChange event handler (when assigned) using the values in Ptr and AnAction as arguments.

See also

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