Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>I don't have a problem with matching the current record in the other grid since I refresh the grid in the activate of the page. What I want is for the scrolling action of one grid to be matched by the other grid. You see where I'm coming from here? The two grids are showing the same table (actually it's a local view). In a perfect world, all the fields of the table that I need to show would fit on the same page. But alas, this is not the case, and since I don't want the horizontal scroll bar (long story), I put the rest of the fields on the second page. I'd like both grids to 'act as one'. Perhaps I'm asking too much :~{
>>
>>Thanks for your reply. Any other ideas?
>>
>>Valerie
>>
>Did you try following:
>1. Intercept user scrolling activity in Grid1.Scrolled event.
>2. Use nDirection parameter of this event to fire DoScroll(nDirection) method for the second grid.
I tried this and it didn't work. I tried fooling with the setfocus events and the activpage events, but didn't get it.
So, I'm down to a single question. How can I make the first visible row in a grid the active row. Any hints?
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