Occurs when the right mouse button is pressed on the DataWindow control.
PowerBuilder event information Event ID: pbm_dwnrbuttondown
Argument |
Description |
---|---|
flags |
UnsignedLong by value. The modifier keys and mouse buttons that are pressed. The flags value is the sum of the values for all the pressed keys and buttons. Key and button values are:
In the RButtonDown event, the right mouse button is always pressed, so 2 is always summed in the value of flags. For information on evaluating the flags value, see Syntax 2 of MouseMove in the PowerScript Reference. |
xpos |
Integer by value. The distance of the pointer from the left edge of the window’s workspace in pixels. |
ypos |
Integer by value. The distance of the pointer from the top of the window’s workspace in pixels. |
Web ActiveX event information Event name: MouseDown
Argument |
Description |
---|---|
Button |
Number. A value that is the sum of the values of the buttons the user clicked. Values are:
The PowerBuilder RButtonDown event is always the right mouse button, but in the MouseDown event for the Web ActiveX, you have to check which button was pressed. |
Shift |
Number. A value that is the sum of the values of the modifier keys the user pressed. Values are:
The PowerBuilder RButtonDown event does not provide information about whether a modifier key is pressed, but in the MouseDown event for the Web ActiveX, you can use the Shift argument to check for modifiers. |
XPos |
Number. The distance of the pointer from the left side of the DataWindow workspace. The distance is given in pixels. |
YPos |
Number. The distance of the pointer from the top of the DataWindow workspace. The distance is given in pixels. |
Row |
Number. The number of the row under the pointer. If the user does not click on a row, the value of the row argument is 0. For example, row is 0 when the user clicks outside the data area, in text or spaces between rows, or in the header, summary, or footer area. |
Name |
String. The name of the control within the DataWindow under the pointer when the user clicked. |
There are no special outcomes for this event. The only code is:
0 Continue processing