RButtonDown Event
Occurs when a user right clicks the grid.
Syntax
Private Sub object_RButtonDown(ByVal Row As Long, ByVal Col As Long, ByVal X As Long, ByVal Y As Long)
The syntax of the RButtonDown event has these parts:
| Part | Description |
| object | A DGrid control. |
| Row | The index of the row clicked. |
| Col | The index of the column clicked. |
| X | The X position of the cursor in pixels. |
| Y | The Y position of the cursor in pixels. |
Remarks
The X and Y coordinates are relative to the screen. Use this event to display a popup menu.
Data Type
Row Long
Col Long
X
Long
Y Long