Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Grids on a Page - Syncronizing Record Pointers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00103471
Message ID:
00103518
Vues:
24
>>I may have spoken too soon. Can you explain the line:
>>
>>Grid.oSyncGrid = myOtherGrid
>
>Yeah, that was the line I didn't think was clear. :-) What I was suggesting was creating a grid class, and adding a custom property to that class that held an object pointer to the other one. So, in Grid1, you would set oSyncGrid to 'ThisForm.Grid2', and in Grid2, you would set oSyncGrid to 'ThisForm.Grid1'. Also, you should set the property to a blank in the Destroy of the grid, or you won't be able to release the form, because of the outstanding object reference....

Just to add a little decoration to your work, Garrett, you/Lincoln could make sure that the active row in each grid is highlighted using some of our FILES code for handling whole-row highlighting.

Barbara
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform