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

SelectTreeNode – PB Docs 2018 – PowerBuilder Library

SelectTreeNode – PB Docs 2018

SelectTreeNode

method (DataWindows)

Description

Selects or deselects a TreeView node in a TreeView
DataWindow.

Applies to

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

bSelect

Indicates whether the TreeView node is selected or
not

Return value

Returns 1 if the SelectTreeNode operation succeeds and one of the
following negative values if it fails:

-1 — DataWindow is null

-5 — One or more of the parameters are invalid

-16 — DataWindow is not a TreeView DataWindow

Usage

A TreeView DataWindow has several TreeView nodes that can be
selected or deselected. You can use the SelectTreeNode method to select or
deselect a TreeView node in a TreeView DataWindow that has a particular
TreeView level.

The SelectTreeNode method triggers the TreeNodeSelecting and
TreeNodeSelected events with a row argument of -1.

Examples

The following example selects the node specified by the text box
values:


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