Occurs after a node in a TreeView DataWindow is selected.
PowerBuilder event information Event ID: pbm_dwntreenodeselected
Argument |
Description |
---|---|
row |
Long by value. The number of the first row in the group that has been selected. |
grouplevel |
Long by value. The level of the group that has been selected. |
There are no return codes.
A TreeView node is selected when the user clicks the State icon (-) in the TreeView DataWindow or uses any of the Collapse methods.
The TreeNodeSelected event occurs after the selecting operation when the user selects a tree node using the SelectTreeNode method.
The following statements in the TreeNodeSelected event refresh the text box value with the new node:
sle_row.text = string(row)
sle_level.text = string(grouplevel)
return 0