Sign in Join
FPDoc Onlineexperiment

TListColumns class

In unit ComCtrls

A collection for TListColumn instances defined for a multi-column list view control.

Declaration

pascal
TListColumns = class(TCollection)

Inheritance

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

Descends from it: TShellListColumns

Description

TListColumns is a TCollection descendant which implements a container for column definitions on a list view control. It provides properties and methods used to create, access, and maintain the TListColumn instances in its Items property.

Use methods like Add, Insert, Clear, Delete, and Move to maintain the column definitions in the collection.

TListColumns is the type used to implement the Columns property in TCustomListView.

See also

Properties

OwnerpublicOwner of the collection instance.
ItemspublicProvides indexed access to the items in the column collection.

Methods

GetOwnerprotectedGets the owner of the persistent object.
CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
AddpublicCreates and returns a new TListColumn instance for the collection.
AssignpublicAdds column definitions in Source to the current class instance.
UpdatepublicChecks whether the collection update is actually need and calls the inherited method.

Inherited

From TCollection (24)

BeginUpdate Changed Clear Count Delete EndUpdate Exchange FindItemID GetAttr GetAttrCount GetEnumerator GetItem GetItemAttr GetNamePath Insert ItemClass Move Notify PropName SetItem SetItemName SetPropName Sort 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.