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

EndLabelEdit – PB Docs 125 – PowerBuilder Library

EndLabelEdit – PB Docs 125

EndLabelEdit event

The EndLabelEdit event has different arguments for
different objects:

Object

See

ListView control

Syntax 1

TreeView control

Syntax 2

Syntax 1 For ListView controls

Description

Occurs when the user finishes editing an item’s label.

Event ID

Event ID

Objects

pbm_lvnendlabeledit

ListView

Parameters

Argument

Description

index

Integer. The index
of the ListView item for which you have edited the label.

newlabel

The string that represents the new label
for the ListView item.

Return Values

Long. Return code choices (specify in
a RETURN statement):

  • 0 Allow the
    new text to become the item’s label.

  • 1 Prevent the new text from becoming the
    item’s label.

Usage

The user triggers this event by pressing Enter or Tab after
editing the text.

Examples

This example displays the old label and the new label
in a SingleLineEdit:

See Also

Syntax 2 For TreeView controls

Description

Occurs when the user finishes editing an item’s label.

Event ID

Event ID

Objects

pbm_tvnendlabeledit

TreeView

Parameters

Argument

Description

handle

Integer. The index
of the TreeView item for which you have edited the label.

newtext

The string that represents the new label
for the TreeView item.

Return Values

Long. Return code choices (specify in
a RETURN statement):

  • 0 Allow the
    new text to become the item’s label

  • 1 Prevent the new text from becoming the
    item’s label

Usage

The user triggers this event by pressing Enter or Tab after
editing the text.

Examples

This example displays the old label and the new label
in a SingleLineEdit:

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