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:
00046421
Views:
26
>>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...
>
>Thanks Bruce, but (there's always a "but" isn't there), what if the user scrolled past the active cell so it is no longer visible? Then the setfocus in the activate event simply moves the user back to the record she's on. Also, if a user scrolls down several rows, then chooses the third visible row on the grid, how can I make the other grid shows the active row in the same relative position?
>
>I know -- I ask a lot :)
>
>Singing the "I had a great idea, but it turned out really ugly" blues,
>Valerie

I know what you mean (s)...here's what I do for this: since it's not easy to capture the current record/grid row without clicking on a grid column, I move from one grid to the other with a click on grid object. That is, the user clicks on a grid record on one page, then the code opens the other page to the same place. I use a non-editable ID column with special text color and underline to indicate "more info is available"...

None of my design-phase users have requested the feature you're trying to build so far (and I won't bring it up, either (s)). But if someone comes up with a direct solution, I'm interested too...
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