Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying an updated grid--scroll issues
Message
 
 
To
11/03/2009 14:08:02
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
Application:
Desktop
Miscellaneous
Thread ID:
01387174
Message ID:
01387196
Views:
73
>>Is it something like
>>Re: Position of Child Form Record Thread #1061639 Message #1062503
>>
>>you have in mind?
>>
>
>If I understand what that code does, no, that's not what I'm looking for.
>
>Let me give an example. Say the grid has 10 records and the record pointer is on record 1, with record 1 the first displayed row. After my code to refill the cursor runs, the record pointer is still on record 1, but now record 4 is at the top of the grid. Etc., etc.
>
>I think what I need to do is figure out which row is displayed at the top, and where focus is, and restore both of those after I refill the cursor.
>
>Tamar

This code (and discussed variations of it - corrections later in the thread) puts the currently active record on the top of the grid.

I think I had another discussion about the problem you have with David F a while ago. I'll search for this later if you would not find this discussion.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform