System.Contnrs.TObjectList.Notify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Notify(Ptr: Pointer; Action: TListNotification); override;

C++

virtual void __fastcall Notify(void * Ptr, System::Classes::TListNotification Action);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Contnrs.pas
System.Contnrs.hpp
System.Contnrs TObjectList

Description

Responds when items are added, removed, or extracted from the list.

System.Contnrs.TObjectList.Notify inherits from System.Classes.TList.Notify. All content below this line refers to System.Classes.TList.Notify.

Responds when items are added, removed, or extracted from the list.

Notify is called automatically when the items in the collection change.

Ptr points to item affected by the change.

Action indicates the change.

As implemented in TList, Notify does nothing. Descendent classes can override Notify in order to implement an appropriate response to the change notification.