>Hi Vivian,
>>Anyway, what I want to do now is when I scroll up or down on the first grid, I want the second one to be scrolled too so I can see the
matched data for each record. How can I do that?
>I tried this quite a while ago with the DoScroll() method in one, reacting to the Scrolled() event in the other. It didn't work because they
were about 1 off. I didn't try very hard after about 20 minutes though, so it still might be possible.
>Anyway, those are the two events/methods that will likely be most helpfull, and if you find a solution, let us know! Then post the class
as a File, and put up a FAQ :-)
Hi Mike,
I did try to fire the Doscroll() method on grid 2 from the Scrolled event on grid 1, but it didn't work properly. The second grid seemed to move slower than the first one. I tried this for about 2 hours though but still couldn't get it work, then I posted the question here.
Thanks anyway.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement