Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>This works GREAT for scrolling, thank you. But, how can I handle it when the user is tabbing accross Grid 1 so that Grid 2 follows in the same form as the srolling?
>>>
>>>Here, you can fire Grid.DoScroll from Grid1.AfterRowColChange event checking e.g. for lastkey()=9. Another way is to check Grid1.LeftColumn property.
>>
>>If you have been able to get this to work, Ed, you are truly more resourceful than I (which I suspect is true anyway :-)). I once spent a full 3 hours trying to get 2 grids to completely synchronize, and while I got pretty close, I couldn't get it to work flawlessly. AfterRowColChange doesn't fire consistently enough to use as a Synchronizer, and neither does Scroll. I am interested to hear if you have ever implemented this successfully.
>
>I have never been requested to do this :).
I've tried this......and I never got it to work either. I have a form with two grids on a page that I was trying to link to the record on the form. Never worked right. So now, the top grid is a view and the bottom is linked to the view. That works just fine.
Steve
Précédent
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