Sign in Join
FPDoc Onlineexperiment

TListColumn class

In unit ComCtrls

Represents an individual column in a multi-column list control.

Declaration

pascal
TListColumn = class(TCollectionItem)

Inheritance

  1. TListColumn
  2. TCollectionItem
  3. TPersistent
  4. TObject

Descends from it: TShellListColumn

Description

TListColumn is a TCollectionItem descendant which represents an individual column in a multi-column list control.

TListColumn is the type used for items added to the TListColumns collection, and maintained in the TCustomListView.Columns property.

See also

Properties

WidthTypepublicNot used in LCL.
AlignmentpublishedSets the horizontal alignment for the text displayed in the column.
AutoSizepublishedResizes the column to the width needed for the list view Items or SubItems displayed in the column.
CaptionpublishedCaption text (heading) for the column.
ImageIndexpublishedOrdinal position for the image displayed for the column.
MaxWidthpublishedMaximum width for the column in pixels.
MinWidthpublishedMinimum width for the column in pixels.
TagpublishedArbitrary Integer value with information about the column.
VisiblepublishedIndicates whether the column is visible on its list view control.
WidthpublishedWidth for the column on a list view control.
SortIndicatorpublishedSpecifies the sort indicator displayed for the column.

Methods

SetIndexprotectedSets the value for the Index property.
GetDisplayNameprotectedGets the value for the DisplayName property.
GetStoredWidthprotectedGets the value for Width as included in LCL component streaming.
CreatepublicConstructor for the class instance.
DestroypublicDestructor for the class instance.
AssignpublicCopies properties from the specified persistent object to the current class instance.

Inherited

From TCollectionItem (9)

Changed Collection DisplayName GetNamePath GetOwner ID Index SetCollection SetDisplayName

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.