[Overview][Types][Classes][Procedures and functions][Index] |
Destructor for the class instance.
Source position: comboex.pas line 85
public destructor TComboExItem.Destroy; override; |
Destroy is the overridden destructor for the class instance.
Destroy ensures that the number of items in the Collection and the Owner for the collection are kept in sync. Normally, the value in Count is maintained when the Collection frees an item instance in its Delete method. Destroy handles the situation where the collection item is destroyed by calling the Free method in the collection item instead.
A component notification message is performed for the Collection to signal the delete operation. The Notify method in Collection is not called when Collection is unassigned or does not have an Owner, or when the Owner of the Collection is being freed.
Destroy calls the inherited destructor prior to exiting from the method.
|
Performs component notifications when a collection item is added to or removed from the Collection. |
|
|
Provides indexed access to the list of items maintained in the collection. |
|
Version 4.0 | Generated 2025-05-03 | Home |