ExpandItem – PB Docs 2017

ExpandItem

PowerScript function

Description

Expands a specified item.

Applies to

TreeView controls

Syntax

Argument

Description

treeviewname

The TreeView control in which you want to expand an
item

itemhandle

The handle of the item you want to
expand

Return value

Integer.

Returns 1 if it succeeds and -1 if an error occurs.

Usage

ExpandItem expands only a single item. To expand a specified item
including its children, use ExpandAll.

Examples

This example expands the current level of a TreeView:

See also

CollapseItem

ExpandAll

FindItem


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