Class TTreeViewX (unit TreeViewX_TLB)

Inherits from

TOleControl

TreeViewObject

Constructors



Functions

procedure AddChild(RootIndex, Index: Integer; const S: WideString);


procedure AddRoot(Index: Integer; const S: WideString);


function AlphaSort: WordBool;


procedure Delete;


procedure FullCollapse;


procedure FullExpand;


function IsEditing: WordBool;


procedure LoadFromFile(const FileName: WideString);


procedure SaveToFile(const FileName: WideString);


procedure CreateControl;


function GetTOleEnumProp(Index: Integer): TOleEnum;


procedure InitControlData;


procedure SetTOleEnumProp(Index: Integer; Value: TOleEnum);


function GetControlInterface: ITreeViewX;


Properties

property BorderStyle : TxBorderStyle


property Color : TColor


property Ctl3D : WordBool


property Enabled : WordBool


property Font : TFont


property HideSelection : WordBool


property Indent : Integer


property ReadOnly : WordBool


property RightClickSelect : WordBool


property ShowButtons : WordBool


property ShowLines : WordBool


property ShowRoot : WordBool


property SortType : TxSortType


property Visible : WordBool


property ControlInterface : ITreeViewX


Events

Variables

FIntf : ITreeViewX;



Constructors


Functions


procedure AddChild(RootIndex, Index: Integer; const S: WideString);


procedure AddRoot(Index: Integer; const S: WideString);


function AlphaSort: WordBool;


procedure Delete;


procedure FullCollapse;


procedure FullExpand;


function IsEditing: WordBool;


procedure LoadFromFile(const FileName: WideString);


procedure SaveToFile(const FileName: WideString);


procedure CreateControl;


function GetTOleEnumProp(Index: Integer): TOleEnum;


procedure InitControlData;


procedure SetTOleEnumProp(Index: Integer; Value: TOleEnum);


function GetControlInterface: ITreeViewX;


Properties


property BorderStyle : TxBorderStyle


property Color : TColor


property Ctl3D : WordBool


property Enabled : WordBool


property Font : TFont


property HideSelection : WordBool


property Indent : Integer


property ReadOnly : WordBool


property RightClickSelect : WordBool


property ShowButtons : WordBool


property ShowLines : WordBool


property ShowRoot : WordBool


property SortType : TxSortType


property Visible : WordBool


property ControlInterface : ITreeViewX


Events


Variables


FIntf : ITreeViewX;