.comment-link {margin-left:.6em;}

Thursday, August 23, 2007

 

twoltreeview

TWOLTreeView object
Unit: WOLGUI18.
Descendant of TWOLVisualControl. One is about the representation, in object WOL, of basic Visual Tree of the GUI in use.

Public Methods and Events:

constructor Create (AOwner: TWOLRoot); override;
destructor Destroy; override;
procedure CreateGUIParams (to var aParams: TWOLParams; const wClass: TWOLClassType); override;
procedure CreateWnd (to var aParams: TWOLParams); override;

procedure AddRoot (Root: TWOLTreeViewNode);
method used to add to a nodule root in the visual tree.

procedure Clear;
method used to clean all we of a tree.

procedure Expand (aNode: TWOLTreeViewNode);
method used to expand all pertaining we to the specified knot.

procedure Colapse (aNode: TWOLTreeViewNode);
method used to collect all pertaining we to the specified knot.

procedure RecreateWnd; override;
procedure AllocResources; override;
procedure FreeResources; override;
function WndPaint (to var Message: TWOLMessage): Boolean; override;
function WndProc (to var Message: TWOLMessage): Boolean; override;

Public properties and Events:

Items [Index: Integer]: TWOLTreeViewNode (Only for Reading)
Property that returns the knot from specified index.

RootCount: Integer (Only for Reading)
Property that returns the amount from us roots of the tree.

IsEmpty: Boolean (Only for Reading)
Property that returns if the tree is empty or not.

Images: TWOLImageList (For Reading and Writing)
Property that indicates the list of images associated the tree. The icons contained in the list of images are drawn in we if they will be in normal state.

StateImages: TWOLImageList (For Reading and Writing)
Property that indicates the list of images associated the tree. The icons contained in the list of images are drawn in we if they will be in different state of the normal one.

Indent: Integer (For Reading and Writing)
Property that indicates the removal between we roots and the left side of the tree.

Selected: TWOLTreeViewNode (For Reading and Writing)
Property that returns the currently the selected node.

TreeNodes: TWOLTreeViewNodes (Only for Reading)
Property that loads the tree in itself.

OnClick
OnMouseMove
OnDblClick
WindowAlign
Border
Left
Top
Width
Height
Color
Font
Cursor
Visible
Enabled
Hint
Ctrl3D
Tabstop
TabOrder

TWOLTREEVIEWNODES
TWOLTreeViewNodes is an object that loads the list of nodes in the tree. It does not have to be externaly created.
Public methods and Events:
constructor Create (AOwner: TWOLTreeView);
method used to create the object.
destructor Destroy; override;
method used to destroy the object.
procedure Delete (Index: Integer);
method used to erase the node of indicated index.
procedure Clear;
Used method to clear nodes from the list.
function FindNodeByName (aName: String): TWOLTreeViewNode;
Used method to look a node by it's name.

Properties of the Object:

TreeNode [Index: Integer]: TWOLTreeViewNode (Only for Reading)
Property that returns the node from indicated index.
Count: Integer (Only for Reading)
Property that returns the number of nodes in a tree.

Labels: ,


Comments: Post a Comment

Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?