RButtonDown – PB Docs 120


RButtonDown

Occurs when the user right-clicks anywhere in a DataWindow control.

Applies to

Web DataWindow client control

Arguments

Argument Description
sender String. Identifier for the client-side control.
row Number. The number of the row the user right-clicked.
objectName String. The name of the control within the DataWindow under the pointer when the user right-clicked.

Return codes

Set the return code to affect the outcome of the event:

  • 0 � continue processing.
  • 1 � prevent the focus from changing.

Usage

When the user right-clicks on a DataWindow button, the RButtonDown event occurs before the ButtonClicking event. When the user right-clicks anywhere else, the RButtonDown event occurs when the mouse button is released.

Note: The server-side event that posts back to the RButtonDown client-side event can be triggered by this event handler: PBDataWindow_RButtonDown.

Examples

This script in an .aspx file submits the value of the selected row in the DataWindow to the server:


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