Click to See Complete Forum and Search --> : Another about MSFlexGrid
FLL
Aug 24th, 2000, 08:09 PM
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
rathi
Aug 25th, 2000, 06:34 AM
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/showthread.php?threadid=18524
may help you.
sincerely,
Rathi
FLL
Aug 25th, 2000, 07:31 AM
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
rathi
Aug 25th, 2000, 09:31 PM
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
FLL
Aug 28th, 2000, 07:02 PM
Thanks for the advice. I'll give it a try.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.