|
-
Oct 5th, 2000, 08:59 AM
#1
Thread Starter
Member
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]
-
Oct 5th, 2000, 09:22 AM
#2
Lively Member
What do you mean? Left click on the form? Could you explain yourself a little clearer please.
-
Oct 5th, 2000, 09:49 AM
#3
Thread Starter
Member
Sorry I ment to say right click,
-
Oct 5th, 2000, 10:45 AM
#4
Thread Starter
Member
-
Oct 6th, 2000, 06:56 AM
#5
Lively Member
Steel, I'm busy right now, but I will get the answer for you shortly.
-
Oct 6th, 2000, 08:27 AM
#6
Thread Starter
Member
I still have not found any solutions, anyone else?
-
Oct 6th, 2000, 09:49 AM
#7
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
-
Oct 6th, 2000, 09:53 AM
#8
Thread Starter
Member
Thank you so much Serge!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|