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:
00046429
Views:
23
>>>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...

Let me see if I understand you properly. You don't move fromm page to page using the page tabs, right? You've got them moving from page to page by making them click on the 'more information available' column in the grid?

Brilliant! I never would have thought of that. I'm going to see if I can come up with a similar solution. I have a couple of wrinkles though. Part of the reason I have two grids on two pages is because of a separation of user responsiblity to the data in those fields, so I'm not really dealing with a 'more information' situation. The other wrinkle is that I also have a third page, showing yet another grid of child records relating to the current record in the first (two) grids. Hmmm -- gotta think about this a while.

THANKS
Previous
Reply
Map
View

Click here to load this message in the networking platform