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

Syntax 2: For editing a label in a TreeView – PB Docs 2022 – PowerBuilder Library

Syntax 2: For editing a label in a TreeView – PB Docs 2022

Syntax 2: For editing a label in a TreeView

Description

Puts a label in a TreeView into edit mode.

Applies to

TreeView controls

Syntax

Argument

Description

treeviewname

The TreeView control in which you want to enable label
editing

itemhandle

The handle of the item to be edited

Return value

Integer.

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

Usage

The EditLabels property for the TreeView must be set to true to
enable editing of labels. When this property is true, calling the
EditLabel function sets focus on the item and enables editing. To
disable editing when the user has finished editing the label, set the
EditLabels property to false in the EndLabelEdit event.

If the EditLabels property is set to false, the EditLabel function
does not enable editing.

Examples

This example allows the user to edit the label of the current
TreeView item:

See also

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