Class TTreeListRecordItem

Unit

Declaration

type TTreeListRecordItem = class(TPersistent)

Description

This is a item shown in the detail columns

Hierarchy

Overview

Methods

Public procedure selectFont(can: TCanvas);
Public function GetNecessaryWidth(listView:TTreeListView=nil): longint;
Public constructor Create(aparent:TTreeListItem); overload;
Public constructor Create(aparent:TTreeListItem;caption:string); overload;
Public destructor Destroy; override;

Properties

Published property Text: string read F_Text write setText;
Published property Index: longint read getIndex;
Published property Parent: TTreeListItem read F_Parent;

Description

Methods

Public procedure selectFont(can: TCanvas);

This selects the font used to draw this item (useful when owner drawing)

Public function GetNecessaryWidth(listView:TTreeListView=nil): longint;

This returns the size of this item

Public constructor Create(aparent:TTreeListItem); overload;

Creates an item

Public constructor Create(aparent:TTreeListItem;caption:string); overload;

Creates an item with given caption

Public destructor Destroy; override;
 

Properties

Published property Text: string read F_Text write setText;
 
Published property Index: longint read getIndex;
 
Published property Parent: TTreeListItem read F_Parent;
 

Generated by PasDoc 0.16.0.