Skip to main content

Create(Boolean) Constructor

Creates a TcxObjectList class instance.

Declaration

constructor Create(AOwnObjects: Boolean = True);

Parameters

Name Type
AOwnObjects Boolean

Remarks

Call this constructor to create a new empty object list. You can pass False as the AOwnObjects parameter to forbid the Clear procedure to destroy stored items. The constructor uses the parameter value to initialize the OwnObjects property.

Note

It is impossible to change an existing object list’s OwnObjects property value and the Clear procedure’s behavior.

See Also