Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sychronized grid scrolling
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00046362
Message ID:
00046386
Views:
26
>Hi everyone,
>
>I have a page frame with two pages and on each page is a grid. Both grids contain fields from the same table. Is there any way I can synchronize scrolling in the two grids? What I mean is if a user is scrolling down in one grid on one page, when she goes to the next page I want the same "view" of the table presented.
>
>I have tried looking at the relativerow and activerow properties, but all I have ever seen them be in the debugger is 0 (zero) so I can't quite figure out what they really represent. I would settle for a way to make the top VISIBLE row the selected record, but I can't figure that out either. I would prefer that the selected record not change though, so a user can scroll through the grid but the next keystroke still only affects the last record she actually selected (just like the browse window).
>
I do something like this without trouble using a table (should work same for views)...I just do a grid setfocus in the each page activate, so long as table is selected. The second grid automatically scrolls to show the selected record...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform