Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Highlighting 101
Message
From
24/10/2003 09:46:47
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00842074
Message ID:
00842079
Views:
18
Tommy,

You're the third person to ask for help with this type of grid highlighting problem since I posted a similar message here on the UT. I have yet to see a reply that solves the issue. I'm not really helping you with this reply, but, just thought that I'd let you know that perhaps it's a "stumper" :)

Good luck,

Mike.

>Me again!
>
>Question.... I have a pageframe with two pages. The page has some fields to edit from a view. The second page has a grid of the view (all are bound fields). I have code that automatically highlights the row in the grid of the chosen record (which I select with some standard vcr controls).
>
>When I am focused on the first page, and move, let's say.. 1 or 2 records above or below where I am at the moment, then select the second page, the highlighted record is shown correctly.
>
>But, if I move a long way off, say 10 or 20 records, or to the Bottom, just enough to be on a record off the visible portion of the grid, and select the second page, to view the grid, the grid is still where it was at, and the record I wish to see is still BELOW the grid (the non-visible portion), and hence unhighlighted. When I then select the grid to scroll down to the record, it immediately jumps to the record I want and highlights it.
>
>What must I do to make it immediately scroll to the correct record and highlight it. I tried setting focus and refreshing the grid and page, but to no avail.
>
>Any ideas??? Thanks a bunch!!
>
>Tommy
Previous
Reply
Map
View

Click here to load this message in the networking platform