MouseRow Property

Returns the current mouse position, in row and column coordinates.

Syntax

Public Property Get MouseRow As Integer

Applies To

Grid Object

Data Type

Integer

Remarks

MouseRow and MouseCol return -1 if they are invoked while the mouse is not over the control or is over the empty area of the control.

See Also

MouseCol Property