Syntax 1: For ListBox, PictureListBox, ListView, and Tab controls – PB Docs 2017

Syntax
1: For ListBox, PictureListBox, ListView, and Tab controls

Description

Occurs when the user double-clicks on the control.

Event ID

Event ID

Objects

pbm_lbndblclk

ListBox, PictureListBox

pbm_lvndoubleclicked

ListView

pbm_tcndoubleclicked

Tab

Arguments

Argument

Description

index

Integer by value. The index of the item the user
double-clicked (for tabs, the index of the tab
page).

Return Values

Long.

Return code choices (specify in a RETURN statement):

0 — Continue processing

Usage

You can use the ItemActivate event (with the OneClickActivate
property set to false) instead of the DoubleClicked event for ListView
controls.

In a ListBox or PictureListBox, double-clicking on an item also
triggers a SelectionChanged event.

Examples

This example uses the DoubleClicked event to begin editing the
double-clicked ListView item:

See also

Clicked

ColumnClick

ItemActivate

ItemChanged

ItemChanging

RightClicked

RightDoubleClicked

SelectionChanged

SelectionChanging


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