[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 914

type TListColumns = class(TCollection)

protected

  function GetOwner; override;

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]

  

  property Items: TListColumn; default; [rw]

  

  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

|

TPersistent

|

TObject

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