Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Grids on a Page - Syncronizing Record Pointers
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00103471
Message ID:
00103518
Views:
26
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform