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

TListColumns

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

TListColumns - a collection of Items of type TListColumn (the columns appearing in a multi-column list).

Declaration

Source position: comctrls.pp line 1251

type TListColumns = class(TCollection)

protected

  function GetOwner; override;

  

Gets the owner of the persistent object.

public

  constructor Create();

  

Create - constructor for TListColumns: sets ownership then calls inherited Create.

  destructor Destroy; override;

  

Destroy - destructor for TListColumns: calls inherited destructor.

  procedure Update(); override;

  

Update checks if update is in fact required, then calls inherited method.

  function Add;

  

Add calls inherited method, then adjusts state flags.

  property Owner: TCustomListView; [r]

  

Owner of the collection instance.

  property Items []: TListColumn; default; [rw]

  

Provides indexed access to the items in the column collection.

  procedure Assign(); override;

  

Assign checks that source is of correct type, then adds new columns and copies items from source into them; otherwise calls inherited Assign which probably raises an exception.

end;

Inheritance

TListColumns

  

TListColumns - a collection of Items of type TListColumn (the columns appearing in a multi-column list).

|

TCollection

?

TObject

The latest version of this document can be found at lazarus-ccr.sourceforge.net.