Set Node Information

Use this system function to change the node value and the text displayed for the node.

Parameters

Tree Control

Input, required. The tree control FC to affect.

Node

Input, required. The node to affect. Set the parameter to: <Currently Selected Node>, <Last Inserted Node>, or <Currently Expanding/Collapsing Node>.

Node Text

Input, required. The text to display for the node. Set the parameter to an applicable object from the object list.

Node Value

Input, required. The value to apply to the node. This value is often used for identification purposes, so you might want to ensure that it is unique. Set the parameter to an applicable object from the object list.

Additional Notes

A typical use of a node value 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.