DblClick Event

Occurs when a user double clicks inside the grid.


Syntax

Private Sub object_DblClick(ByVal Row As Long, ByVal Col As Long)

The syntax of the DblClick event has these parts:

PartDescription
objectA DGrid control.
Row   The index of the row clicked.
Col   The index of the column clicked.

Remarks

If a row heading is clicked, Col returns -1, if a column heading is clicked, Row returns -1. If Col returns an index larger than the number of columns - 1, the click was in the grey area of the grid.  If Row returns an index larger than the number of rows in the grid -1, the click was in the grey area of the grid.

Data Type

Row  Long
Col Long