|
-
Aug 24th, 2000, 08:09 PM
#1
Thread Starter
Junior Member
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
-
Aug 25th, 2000, 06:34 AM
#2
Lively Member
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
-
Aug 25th, 2000, 07:31 AM
#3
Thread Starter
Junior Member
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
-
Aug 25th, 2000, 09:31 PM
#4
Lively Member
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
-
Aug 28th, 2000, 07:02 PM
#5
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|