Sign in Join
FPDoc Onlineexperiment

TOwnedCollection class

In unit Classes

TCollection descendant which maintains owner information.

Declaration

pascal
TOwnedCollection = class(TCollection)

Inheritance

  1. TOwnedCollection
  2. TCollection
  3. TPersistent
  4. TObject

Descends from it: TDefCollection TFlowPanelControlList TListControlItems TStoredValues TTaskDialogButtons

Description

TOwnedCollection automatically maintains owner information, so it can be displayed in an IDE. Collections that should be displayed in an IDE should descend from TOwnedCollection or must implement a GetOwner function.

See also

Methods

GetOwnerprotectedReturns the owner of the component.
CreatepublicCreate a new TOwnerCollection instance.

Inherited

From TCollection (30)

Add Assign BeginUpdate Changed Clear Count Delete Destroy EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Items Move Notify Owner PropName SetItem SetItemName SetPropName Sort Update UpdateCount

From TPersistent (5)

AssignTo DefineProperties FPOAttachObserver FPODetachObserver FPONotifyObservers

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.