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

DeleteItem – PB Docs 125 – PowerBuilder Library

DeleteItem – PB Docs 125

DeleteItem event

The DeleteItem 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 an item is deleted.

Event ID

Event ID

Objects

pbm_lvndeleteitem

ListView

Parameters

Argument

Description

index

Integer by value
(the index of the deleted item)

Return Values

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

  • 0 Continue
    processing

Examples

This example for the DeleteItem event displays a
message with the number of the deleted item:

See Also

Syntax 2 For TreeView controls

Description

Occurs when an item is deleted.

Event ID

Event ID

Objects

pbm_tvndeleteitem

TreeView

Parameters

Argument

Description

handle

Long by value (the
handle of the deleted item)

Return Values

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

  • 0 Continue
    processing

Examples

This example displays the name of the deleted item
in a message:


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