RightDoubleClicked – PB Docs 125

RightDoubleClicked event

The RightDoubleClicked event has different arguments
for different objects:

Object

See

ListView and Tab control

Syntax 1

TreeView control

Syntax 2

Syntax 1 For ListView and Tab controls

Description

Occurs when the user double-clicks the right mouse button
on the ListView control or the tab portion of the Tab control.

Event ID

Event ID

Objects

pbm_lvnrdoubleclicked

ListView

pbm_tcnrdoubleclicked

Tab

Parameters

Argument

Description

index

Integer by value
(the index of the item or tab the user double-clicked)

Return Values

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

  • 0 Continue
    processing

Examples

This example deletes an item from the ListView when
the user right–double–clicks on it and then rearranges
the items:

See Also

Syntax 2 For TreeView controls

Description

Occurs when the user double-clicks the right mouse button
on the TreeView control.

Event ID

Event ID

Objects

pbm_tvnrdoubleclicked

TreeView

Parameters

Argument

Description

handle

Long by value (the
handle of the item the user double-clicked)

Return Values

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

  • 0 Continue
    processing

Examples

This example toggles between displaying and hiding
TreeView lines when the user right-double-clicks on the control:

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