Results 1 to 5 of 5

Thread: Another about MSFlexGrid

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    19
    I have a flex grid that is displayed when more than one record is pulled in a query. It is on a separate form, and I can get the flexgrid to display the data correctly, but I was curious as to what event I could use to allow a user to double click and have that particular record displayed in a set of text boxes. Specifically, what is the correct code for the double click event, where I could refer to that double clicked record to populate other controls?

    Thank you...


    FLL

  2. #2
    Lively Member
    Join Date
    Jul 2000
    Location
    Brunei
    Posts
    100
    Originally posted by FLL
    I have a flex grid that is displayed when more than one record is pulled in a query. It is on a separate form, and I can get the flexgrid to display the data correctly, but I was curious as to what event I could use to allow a user to double click and have that particular record displayed in a set of text boxes. Specifically, what is the correct code for the double click event, where I could refer to that double clicked record to populate other controls?

    Thank you...


    FLL
    Hi FLL,

    The question posted by Dr.Evil at
    http://forums.vb-world.net/showthrea...threadid=18524

    may help you.

    sincerely,
    Rathi

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    19
    Thanks for the link to Dr. Evil's code...I have a couple of questions, though, and I thought maybe one of you guys may know the answer:

    Will this same technique work with the MSFlexGrid? I was thinking that I would have to make a selected row an active row or something along that lines?

    And is there a click event that can be associated with single rows of a grid?

    I use programs where this can be done quite often, but I don't have access to the code to execute the procedure?

    FLL

  4. #4
    Lively Member
    Join Date
    Jul 2000
    Location
    Brunei
    Posts
    100
    Originally posted by FLL
    Thanks for the link to Dr. Evil's code...I have a couple of questions, though, and I thought maybe one of you guys may know the answer:

    Will this same technique work with the MSFlexGrid? I was thinking that I would have to make a selected row an active row or something along that lines?

    And is there a click event that can be associated with single rows of a grid?

    I use programs where this can be done quite often, but I don't have access to the code to execute the procedure?

    FLL
    Hi,

    Make sure a row is selected in the MSFlex grid. Substitute the code for the click or double click event of the MSFlexgrid.

    It works for me.

    sincerely,

    Rathi

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jun 2000
    Posts
    19
    Thanks for the advice. I'll give it a try.

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