TListWithEvent class
Implements a list with an event signalled when values are added or removed.
Declaration
TListWithEvent = class(TList)Inheritance
Description
TListWithEvent is a
TList descendant which implements a
list with an event handler signalled when values are added to or removed from
the container. It provides an overridden
Notify method which
signals the event handler (when assigned) for add or delete operations.
Assign an object procedure using the signature in TListChangeEvent to the
OnChange event handler to respond to the notification.
See also
Methods
Notify | protected | Handles the notification when a value is added to or removed from the list. |
Events
OnChange | public | Event handler signalled when a value is added to or removed from the list. |
Inherited
From TList (36)
Add AddList Assign Capacity Clear Contains Count Create Delete Destroy Error Exchange Expand Extract First FPOAttachObserver FPODetachObserver FPONotifyObservers Get GetCapacity GetCount GetEnumerator GetList Grow IndexOf Insert Items Last List Move Pack Put Remove SetCapacity SetCount Sort
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
