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

SetFirstVisible – PB Docs 126 – PowerBuilder Library

SetFirstVisible – PB Docs 126

SetFirstVisible PowerScript function

Description

Sets the specified item as the first visible item in a TreeView
control.

Controls

TreeView controls

Syntax

Argument

Description

treeviewname

The TreeView control in which you want
to identify an item as the first visible item

itemhandle

The handle of the item you are identifying
as the first visible item in the TreeView control

Return Values

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

Usage

Use to give focus to the TreeView item specified by the itemhandle and
scroll it to the top of the TreeView control (or as close to the
top as the item list allows; if the item is the last item in a TreeView
control, for example, it cannot scroll to the top of the control).

Examples

This example sets the current TreeView item as the
first item visible in a TreeView control:

See Also


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