3. System Classes : ButtonField Class : TreeNode Class
 
Share this page                  
TreeNode Class
TreeNode Attributes
Attribute
Data Type
Description
Inherited
From
BmpLblIndx
integer
Is the 1-based index of the bitmap label to be displayed when the node is not selected (RW)
Defined
Children
integer
Is the number of immediate child nodes (R)
Defined
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
Descendants
integer
Is the number of descendant nodes (R)
Defined
FirstChild
TreeNode
Is the first child node (R)
Defined
HasChildren
integer
If set to TRUE, the node displays +/- even if it does not have any children (RW)
Defined
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
IsExpanded
integer
If set to TRUE, the node is expanded, provided it is a parent node (RW)
Defined
IsSelected
integer
If set to TRUE, the node becomes the selected node (RW)
Defined
IsVisible
integer
If set to TRUE, the node is scrolled into view or expanded if necessary to become visible (RW)
Defined
LastChild
TreeNode
Is the last child node (R)
Defined
NextSibling
TreeNode
Is the next sibling node (R)
Defined
ParentNode
TreeNode
Is the parent node (R)
Defined
PrevSibling
TreeNode
Is the previous sibling node (R)
Defined
SelBmpLblIndx
integer
Is the 1-based index of the bitmap label to be displayed when the node is selected (RW)
Defined
TextLabel
nvarchar(256)
Is the text string to be displayed for the node (RW)
Defined
 
TreeNode Methods
Method
Return
Value
Description
Inherited From
Duplicate()
TreeNode
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
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object