Selecting a tree node and navigating the tree – PB Docs 2017

Selecting a tree node and navigating the tree

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.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x