Occurs when a node in a TreeView DataWindow has expanded.
PowerBuilder event information Event ID: pbm_dwnexpanded
Argument |
Description |
---|---|
row |
Long by value. The number of the first row in the group that has been expanded. |
grouplevel |
Long by value. The TreeView level of the group that has been expanded. |
There are no return codes.
A TreeView node expands when the user clicks the State icon (+) in the TreeView DataWindow or uses any of the Expand methods.
The Expanding event occurs before the Expanded event.
The following statement writes the TreeView level and row to a single-line edit box when a node is expanded:
sle_1.text = "TreeView level: " + string(grouplevel) sle_1.text += " Row: " + string(row)