Results 1 to 8 of 8

Thread: newbie question on MSFlex Grid (please help)

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Nashville, TN
    Posts
    54
    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]

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    What do you mean? Left click on the form? Could you explain yourself a little clearer please.
    Damonous

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Nashville, TN
    Posts
    54
    Sorry I ment to say right click,

  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Nashville, TN
    Posts
    54
    Anyone at all?

  5. #5
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    Steel, I'm busy right now, but I will get the answer for you shortly.
    Damonous

  6. #6

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Nashville, TN
    Posts
    54
    I still have not found any solutions, anyone else?

  7. #7
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    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

  8. #8

    Thread Starter
    Member
    Join Date
    Feb 2000
    Location
    Nashville, TN
    Posts
    54
    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
  •  



Click Here to Expand Forum to Full Width