Class TMSTreeNodes (unit MSTreeView)

Inherits from

TPersistent

TMSTreeNodes

Constructors


constructor Create(AOwner: TMSCustomTreeView);

TMSTreeNodes


Functions

function Add(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddChild(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddChildFirst(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddChildObject(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddChildObjectFirst(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddFirst(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddObject(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddObjectFirst(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


procedure Assign(Source: TPersistent);


procedure BeginUpdate;


procedure Clear;


procedure Delete(Node: TMSTreeNode);


destructor Destroy;


procedure EndUpdate;


function GetFirstNode: TMSTreeNode;


function GetNode(ItemId: HTreeItem): TMSTreeNode;


function Insert(Node: TMSTreeNode; const S: string): TMSTreeNode;


function InsertObject(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddItem(Parent, Target: HTreeItem; const Item: TTVItem; AddMode: TAddMode): HTreeItem;


function CreateItem(Node: TMSTreeNode): TTVItem;

multiselect implementation

procedure DefineProperties(Filer: TFiler);


function GetCount: Integer;


function InternalAddObject(Node: TMSTreeNode; const S: string; Ptr: Pointer; AddMode: TAddMode): TMSTreeNode;

multiselect

procedure SetItem(Index: Integer; Value: TMSTreeNode);


procedure SetUpdateState(Updating: Boolean);


procedure AddedNode(Value: TMSTreeNode);


function GetHandle: HWND;


function GetNodeFromIndex(Index: Integer): TMSTreeNode;


procedure ReadData(Stream: TStream);


procedure ReOrder(Node: TMSTreeNode);

multiselect

multiselect


procedure Repaint(Node: TMSTreeNode);


procedure WriteData(Stream: TStream);


Properties

property Count : Integer


property Handle : HWND


property Item : TMSTreeNode


property Owner : TMSCustomTreeView


Events

Variables

FOwner : TMSCustomTreeView;


FUpdateCount : Integer;



Constructors


constructor Create(AOwner: TMSCustomTreeView);

TMSTreeNodes


Functions


function Add(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddChild(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddChildFirst(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddChildObject(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddChildObjectFirst(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddFirst(Node: TMSTreeNode; const S: string): TMSTreeNode;


function AddObject(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddObjectFirst(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


procedure Assign(Source: TPersistent);


procedure BeginUpdate;


procedure Clear;


procedure Delete(Node: TMSTreeNode);


destructor Destroy;


procedure EndUpdate;


function GetFirstNode: TMSTreeNode;


function GetNode(ItemId: HTreeItem): TMSTreeNode;


function Insert(Node: TMSTreeNode; const S: string): TMSTreeNode;


function InsertObject(Node: TMSTreeNode; const S: string; Ptr: Pointer): TMSTreeNode;


function AddItem(Parent, Target: HTreeItem; const Item: TTVItem; AddMode: TAddMode): HTreeItem;


function CreateItem(Node: TMSTreeNode): TTVItem;

multiselect implementation


procedure DefineProperties(Filer: TFiler);


function GetCount: Integer;


function InternalAddObject(Node: TMSTreeNode; const S: string; Ptr: Pointer; AddMode: TAddMode): TMSTreeNode;

multiselect


procedure SetItem(Index: Integer; Value: TMSTreeNode);


procedure SetUpdateState(Updating: Boolean);


procedure AddedNode(Value: TMSTreeNode);


function GetHandle: HWND;


function GetNodeFromIndex(Index: Integer): TMSTreeNode;


procedure ReadData(Stream: TStream);


procedure ReOrder(Node: TMSTreeNode);

multiselect

multiselect


procedure Repaint(Node: TMSTreeNode);


procedure WriteData(Stream: TStream);


Properties


property Count : Integer


property Handle : HWND


property Item : TMSTreeNode


property Owner : TMSCustomTreeView


Events


Variables


FOwner : TMSCustomTreeView;


FUpdateCount : Integer;