Collapsed

Description

Occurs when a node in a TreeView DataWindow has collapsed.

PowerBuilder event information

Event ID: pbm_dwncollapsed

Argument

Description

row

Long by value. The number of the first row in the group to be collapsed.

grouplevel

Long by value. The TreeView level of the group to be collapsed.


Return codes

There are no return codes.

Usage

A TreeView node collapses when the user clicks the State icon (-) in the TreeView DataWindow or uses any of the Collapse methods.

The Collapsing event occurs before the Collapsed event.

Examples

The following statements in the Collapsed event save the current row and level to instance variables:

ii_level = grouplevel
ii_row = row

See also

Collapsing

Expanded