Results 1 to 3 of 3

Thread: MsFlexGrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Johannesburg
    Posts
    5

    Angry MsFlexGrid

    I am using a MsFlexgrid to display a list of data.When I right click on the grid a popup menu to delete a record is displayed. If there is only one record in the grid it gets focus but if there is more than one record in the grid I cannot switch between records, that is the records don't change focus.
    Mel

  2. #2
    rsitogp
    Guest
    If you could give some code I'll play around with it and see if I can help.

  3. #3
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    hi molema, try this

    Code:
    Private Sub MSFlexGrid1_MouseUp(Button As Integer, Shift As Integer, x As Single, y As Single)
        If Button = vbRightButton Then MSFlexGrid1.Row = MSFlexGrid1.MouseRow
    End Sub
    hope this does it for you
    -= a peet post =-

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