TreeNodeSelecting event
Description
Occurs before a node in a TreeView DataWindow is selected.
PowerBuilder event information
Event ID: pbm_dwntreenodeselecting
Argument |
Description |
---|---|
row |
Long by value. The number of the first |
grouplevel |
Long by value. The TreeView level of |
Return Values
Set the return code to affect the outcome of the event. Return
0 to continue the selecting operation or return any other value
to cancel the selecting operation.
Usage
The TreeNodeSelecting event occurs before the user selects
a TreeNode or uses the SelectTreeNode method.
Examples
The following statements in the TreeNodeSelecting
event refresh the text box value with the new node:
1 |
sle_row.text = string(row) |
1 |
sle_level.text = string(grouplevel) |
1 |
return 0 |
See Also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments