Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sychronized grid scrolling
Message
De
22/08/1997 12:11:01
 
 
À
22/08/1997 10:34:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00046362
Message ID:
00046416
Vues:
26
>>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
Fil
Voir

Click here to load this message in the networking platform