[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TListColumn

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TListColumn - an individual column in a multi-column List control

Declaration

Source position: comctrls.pp line 764

type TListColumn = class(TCollectionItem)

protected

  procedure SetIndex(); override;

  

  function GetDisplayName; override;

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Assign(); override;

  

published

  property Alignment: TAlignment; [rw]

  

Alignment - whether text is to be left or right justified or centered

  property AutoSize: Boolean; [rw]

  

Whether AutoSize is to be operational

  property Caption: TTranslateString; [rw]

  

A text string or Caption (which may be translated) to be used at the top of the column

  property ImageIndex: TImageIndex; [rw]

  

ImageIndex - the index value of the image associated with he ListColumn

  property MaxWidth: TWidth; [rw]

  

MaxWidth - the maximum width for this column

  property MinWidth: TWidth; [rw]

  

MinWidth - the minimum permissable with for the column

  property Tag: Integer; [rw]

  

Tag - a general purpose integer variable to be used in association with this column

  property Visible: Boolean; [rw]

  

Visible - whether this column can be seen

  property Width: TWidth; [rw]

  

The Width of this column

end;

Inheritance

TListColumn

  

TListColumn - an individual column in a multi-column List control

|

TCollectionItem

?

TObject