TreeNodeSelected
event (DataWindows)
Description
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 |
|
grouplevel |
Long by value. The level of the group that has been |
Return Values
There are no return codes.
Usage
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.
Examples
The following statements in the TreeNodeSelected event refresh the
text box value with the new node:
|
1 2 3 |
sle_row.text = string(row) sle_level.text = string(grouplevel) return 0 |
See also