Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Collapsing – PB Docs 2022 – PowerBuilder Library

Collapsing – PB Docs 2022

Collapsing

event (DataWindows)

Description

Occurs before a node in a TreeView DataWindow collapses.

PowerBuilder event
information

Event ID: pbm_dwncollapsing

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 Values

Set the return code to affect the outcome of the event. Return 0 to
continue processing (collapse the selected node) or return any other value
to cancel the collapse.

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 Collapsing event script display a
message box that allows the user to cancel the operation. The message box
does not display if the Collapsing event was triggered by the CollapseAll
or CollapseLevel methods:

See also

Collapsed

Expanding


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x