You can select a tree node in the TreeView DataWindow in the following ways:
-
Use the SelectTreeNode method to select a tree node.
-
Set the Select Node By Mouse property to "true" and then click a tree node to select it with the mouse.
After you select a tree node in the TreeView DataWindow, you can navigate the tree using the up, down, left, and right keys.
Use this key |
To do this |
---|---|
Up |
Select a tree node prior to the currently selected node. |
Down |
Select a tree node next to the currently selected node. |
Left |
Collapse the currently selected node. If the current tree node is a leaf node or the node has been collapsed, the DataWindow just scrolls to the left, which is its normal behavior. |
Right |
Expand the currently selected node. If the current tree node is a leaf node or the node has been expanded, the DataWindow just scrolls to the right, which is its normal behavior. |
For detailed information about TreeView DataWindow properties, methods and events, see DataWindow Reference.