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

BeginLabelEdit – PB Docs 125 – PowerBuilder Library

BeginLabelEdit – PB Docs 125

BeginLabelEdit event

The BeginLabelEdit 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 clicks on the label of an item after
selecting the item.

Event ID

Event ID

Objects

pbm_lvnbeginlabeledit

ListView

Parameters

Argument

Description

index

Integer by value
(the index of the selected ListView item)

Return Values

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

  • 0 Allow editing
    of the label

  • 1 Prevent editing of the label

Usage

When editing is allowed, a box appears around the label with
the text highlighted. The user can replace or change the existing
text.

Examples

This example uses the BeginLabelEdit event to display
the name of the ListView item being edited:

See Also

Syntax 2 For TreeView controls

Description

Occurs when the user clicks on the label of an item after
selecting the item.

Event ID

Event ID

Objects

pbm_tvnbeginlabeledit

TreeView

Parameters

Argument

Description

handle

Long by value (the
handle of the selected TreeView item)

Return Values

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

  • 0 Allow editing
    of the label

  • 1 Prevent editing of the label

Usage

When editing is allowed, a box appears around the label with
the text highlighted. The user can replace or change the existing
text.

Examples

This example uses the BeginLabelEdit to display the
name of the TreeView item being edited 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