Each node in a tree view has the following attributes:
Node ID The node ID is a long integer that uniquely identifies each node. You will use the node ID whenever you reference a node from within sanScript.
Label The label is the text that appears for the node.
Data item Each node has a long integer value associated with it that you can use to store data specific to a node.
Images Each node can have several images associated with it. One image is displayed when the node is selected. Another is displayed when the node is not selected. Additional images can be used to “overlay” the node image. Still other images can be used to show the state of a node. Use of images is discussed in the section titled Image types for tree view nodes.