System.Generics.Collections.TList.OnNotify

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnNotify: TCollectionNotifyEvent<T> read FOnNotify write SetOnNotify;

C++

__property _dt_System_Generics_Collections_3 OnNotify = {read=FOnNotify, write=SetOnNotify};

Properties

Type Visibility Source Unit Parent
event public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TList

Description

Occurs when list changes.

The OnNotify event occurs when items are added or removed from the list. Multiple events may occur for a single operation. This allows removed objects to be freed.

See Also


Code Examples