Get Node Information
Use this system function to acquire the display text of a node and its associated node value
Parameters
- Tree Control
-
Input, required. The tree control FC to affect.
- Node
-
Input, required. The node about which to acquire information. Set the parameter to: <Currently Selected Node>, <Last Inserted Node>, or <Currently Expanding/Collapsing Node>.
- Node Text
-
Output, required. The object to which to return the text displayed with the node. The data type of this parameter should be the same as that is displayed by the node. For example, if the node is displaying a numeric value, this parameter should be a numeric value. Set the parameter to an applicable object from the object list.
- Node Value
-
Output, required. The object to which to return the value of the node. The data type of this parameter should be the same as that of the value currently stored in the node. For example, if the node currently has a numeric value, this parameter should be a numeric value. Set the parameter to an applicable object from the object list.
Additional Notes
Store the node value while inserting the node or by using the Set Node Information system function. A typical use is to store a key value associated with the tree node. Data of any type can be stored in the node value as long as you maintain consistency in storing and retrieving the value.
Returns
This system function returns the text associated with the node to the object indicated by Node Text, and the node value to the object indicated by Node Value.