[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Implements a list with an event signalled when values are added or removed.
Source position: lcltype.pp line 2766
type TListWithEvent = class(TList) |
||
protected |
||
procedure Notify(); override; |
|
Handles the notification when a value is added to or removed from the list. |
public |
||
property OnChange: TListChangeEvent; [rw] |
|
Event handler signalled when a value is added to or removed from the list. |
end; |
|
Implements a list with an event signalled when values are added or removed. |
|
| | ||
| | ||
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.
|
Event handler signalled when a value is added to or removed from the list. |
|
|
Handles the notification when a value is added to or removed from the list. |
|
|
Specifies an event handler signalled when a value in a TListWithEvent instance is modified. |
|
Version 3.2 | Generated 2024-02-25 | Home |