3. System Classes : ButtonField Class : Tree Class
 
Share this page                  
Tree Class
Tree Attributes
Attribute
Data Type
Description
Inherited
From
ClassName
varchar(32)
Gives the name of an object's actual type (as opposed to its declared type) (R)
Object
ClientData
Object
Provides a way to associate data with an object (RW)
Object
InstanceIdentifier
integer
Contains a value that uniquely identifies an instance of an allocated object (R)
Object
InstanceReferences
integer
Contains the current number of references to the object (R)
Object
Nodes
integer
Specifies the total number of nodes in the tree (R)
Defined
RootNode
TreeNode
Specifies the root node of the tree (R)
Defined
 
Tree Methods
Method
Return
Value
Description
Inherited From
AddNode
(name =
nvarchar(256)
[,keylabel = varchar(256),
relative =
TreeNode,
relation = integer])
TreeNode
Adds a new node to the tree
Defined
DeleteNode(node = TreeNode,
keylabel =
varchar(256),
name =
nvarchar(256)
[,allnodes = integer])
none
Deletes a node from the tree
Defined
Duplicate()
Tree
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
NextNode()
none
Returns the next node in the tree or NULL if all nodes have been visited
Defined
NodeByKey
(keylabel =
varchar(256))
TreeNode
Retrieves a TreeNode object with the matching key
Defined
NodeByName
(name =
nvarchar(256))
TreeNode
Retrieves a TreeNode object with the matching name
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
StartTraverse
(node =
Treenode,
traverseorder =
integer)
integer
Specifies the node to start traversing from. If the node is set to NULL or is unspecified, then all nodes of the tree are to be traversed.
Defined
StopTraverse()
none
Frees memory used for traversing
Defined