[Overview][Types][Classes][Procedures and functions] |
Should the list free elements when they are removed.
Source position: contnrs.pp line 66
public property TFPObjectList.OwnsObjects: Boolean |
OwnsObjectsdetermines whether the objects in the list should be freed when they are removed (not extracted) from the list, or when the list is cleared. If the property is Truethen they are freed. If the property is Falsethe elements are not freed.
The value is usually set in the constructor, and is seldom changed during the lifetime of the list. It defaults to True.
|
Create a new object list |
|
|
Delete an element from the list. |
|
|
Remove an item from the list. |
|
|
Clear all elements in the list. |