Node Object

Object List Next Object

Definition:

This object is used to represent the individual nodes in a TreeView control

Specialized Features:

The following tables list and describe the properties and methods added by Node.


Properties Use to...


Child Reference to the first child node.

Data User data (of type Long) that is associated with the Node

Expanded Specifies whether or not the Node is expanded.

ExpandedImage Index into the treeViews ImageList for the Nodes bitmap in its expanded state

FullPath Starting with the root node, the text labels of all nodes in the hierarchy that lead to this node.

HItem Handle to the Windows level node (analagous to the key returned by AddNode)

Image Index into the treeViews ImageList for the Nodes bitmap in its normal state

NextNode Reference to the next in sequence node.

NextSibling Reference to the next sibling node.

ObjectRef A user-specified reference to any object to associate with this Node.

ParentNode Reference to the parent node.

PrevNode Reference to the previous in sequence node.

PrevSibling Reference to the previous sibling node.

Selected Specifies whether or not the Node is selected.

SelectedImage Index into the treeViews ImageList for the Nodes bitmap in its selected state

Text The text label of the Node.


Methods Use to...


EnsureVisible Expand any nodes that are required to make the node visible

Copied Features:

Noneimages/Phx00010.gifthis is a top-level object.

See Also:

TreeView Control