System Reference Summary : System Classes : TreeNode Class
 
Share this page          
TreeNode Class
TreeNode Attributes
Attribute
Data Type
Description
Inherited
From
BgColor
integer
Controls the color of the background of the bounding box for the treenode (RW)
Defined
BitmapLabelIndex
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
DragCopyCursor
CursorBitmap
When assigned to a CursorBitmap object, causes the mouse cursor to change to the cursor associated with the CursorBitmap when a DragDrop operation is made to be a copy operation by pressing the CTRL key while dragging from the TreeNode object (RW)
Defined
DragMoveCursor
CursorBitmap
When assigned to a CursorBitmap object, causes the mouse cursor to change to the cursor associated with the CursorBitmap when a DragDrop operation is begun from the TreeNode object
Defined
DropCursor
CursorBitmap
When assigned to a CursorBitmap object, causes the mouse cursor to change to the cursor associated with the CursorBitmap when the mouse is over the TreeNode object (RW)
Defined
ExpandedBitmapLabelIndex
integer
Is the 1-based index of the bitmap label to be displayed when the node is expanded (RW)
Defined
FgColor
integer
Controls the foreground color of the bounding box for the treenode (RW)
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
Height
integer
Provides the height of the bounding rectangle of the TreeNode’s label (R)
Defined
InstanceIdentifier
integer8
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
IsBold
integer
If set to TRUE, the text label of the node is displayed in boldface (RW)
Defined
IsChecked
integer
If set to TRUE and the associated TreeviewField has the HasCheckboxes attribute set, the check box will be displayed as checked
Defined
IsDragNode
integer
If set to TRUE, and IsDragSource is set to TRUE for the TreeviewField containing this node, then the node can be dragged from and the cursor will indicate this (RW)
Defined
IsDropNode
integer
If set to TRUE and a DropObject is defined for the TreeviewField containing this node, then the node can be dropped on and the cursor will indicate this (RW)
Defined
IsExpanded
integer
If set to TRUE, the node is expanded, provided it is a parent node (RW)
Defined
IsHidden
integer
If set to TRUE, the TreeNode and all of its descendants are not displayed (RW)
Defined
IsItalic
integer
If set to TRUE, the text label of the node is displayed in italic typeface (RW)
Defined
IsPlain
integer
If set to TRUE, the text label of the node is not displayed in boldface, underlined, or italic typeface (RW)
Defined
IsSelected
integer
If set to TRUE, the node becomes the selected node (RW)
Defined
IsUnderlined
integer
If set to TRUE, the text label of the node is displayed with underlining (RW)
Defined
IsVisible
integer
If set to TRUE, the node is scrolled into view or expanded if necessary to become visible (RW)
Defined
KeyLabel
varchar(256)
Contains the key associated with the TreeNode (RW)
Defined
LastChild
TreeNode
Is the last child node (R)
Defined
Level
integer
Is 0 for the root node and its siblings; children have level 1, grandchildren level 2, and so on (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
SelBgColor
integer
Controls the background color of the bounding rectangle of the selected node in the TreeviewField (RW)
Defined
SelectedBitmapLabelIndex
integer
Is the 1-based index of the bitmap label to be displayed when the node is selected. If ExpandedBitmapLabelIndex is set, SelectedBitmapLabelIndex will not be used (RW)
Defined
SelFgColor
integer
Controls the foreground color of the bounding rectangle of the selected node in the TreeviewField (RW)
Defined
SelIsBold
integer
If set to TRUE, then the selected node is made bold (RW)
Defined
TextLabel
nvarchar(256)
Is the text string to be displayed for the node (RW)
Defined
TypeFace
integer
Specifies the typeface for the text of the TreeNode label (RW)
Defined
TypeFaceName
integer
Specifies the typeface name of any font installed on your system, to be used for the text of the TreeNode label (RW)
Defined
TypeSize
ineger
Sets the point size of the typeface (RW)
Defined
Width
integer
Provides the width of the bounding rectangle of the TreeNode’s label (R)
Defined
XLeft
integer
Provides the x-coordinate of the left boundary of the bounding rectangle of the TreeNode’s label, relative to the TreeviewField (R)
Defined
YTop
integer
Provides the y-coordinate of the top boundary of the bounding rectangle of the TreeNode’s label, relative to the TreeviewField (R)
Defined