IsExpanded – PB Docs 150

IsExpanded method (DataWindows)

Description

Performs a test to see whether a group in a TreeView DataWindow
with the specified TreeView level is expanded, and whether the group
includes the specified row.

Controls

DataWindow type

Method applies to

PowerBuilder

DataWindow control

Syntax

[PowerBuilder]

Argument

Description

dw_control

A reference to a TreeView-style DataWindow
control

row

The number of the row that belongs to
the group

groupLevel

The TreeView level of the group

Return Values

Returns true if the group is expanded and false if
the group is not expanded. IsExpanded also returns false if
the DataWindow is not a TreeView DataWindow or the row or groupLevel is
invalid.

Usage

A TreeView DataWindow has several TreeView level bands (groups)
that can be expanded and collapsed. You can use the IsExpanded method
to test whether or not a group in a TreeView DataWindow is expanded.

Examples

The following example performs a test to determine
whether the group that contains row 3 at TreeView level 2 is expanded:

See Also


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