[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-1 value from "GridView1.Column" and "GridView1.Row" with the middle mouse button


Hello,
if I click with the "middle" mouse button inside any "cell" of a GridView, I get  -1 value from "GridView1.Column" and -1 value from "GridView1.Row".

Example:
  Public Sub Form_Open()

   With GridView1
     .Columns.Count = 5
     .Rows.Count = 5
   End With

  End


  Public Sub GridView1_MouseUp()

    Print GridView1.Column, GridView1.Row

  End

Furthermore, if I click with the middle mouse button after clicking with the right or left button, I get the "last" value returned by the right or left click.

...strange.

Regards