-
Hello all. I have a question about the msflegrid. When i left click anywhere on the grid it will change focus to that cell, but if i right click anywhere it wll not change focus to the cell. How can I change it to do this?
thanks for any help
[Edited by steel on 10-05-2000 at 10:49 AM]
-
What do you mean? Left click on the form? Could you explain yourself a little clearer please.
-
Sorry I ment to say right click,
-
-
Steel, I'm busy right now, but I will get the answer for you shortly.
-
I still have not found any solutions, anyone else?
-
Not a problem. Check out MouseRow and MouseCol properties:
Code:
Private Sub MSFlexGrid1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
If Button = vbRightButton Then
With MSFlexGrid1
.Row = .MouseRow
.Col = .MouseCol
End With
End If
End Sub
-
Thank you so much Serge!!