Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh Grid
Message
From
13/02/2003 21:48:07
 
 
To
13/02/2003 17:06:30
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00752793
Message ID:
00753057
Views:
22
Well, I don't know what else to say. I've tried a number of different ways, and I can't duplicate the problem. I see that Dragan says he's seen this before, so hopefully his explanation will help you out.

Alan

>Maybe a step by step would help. Let me see if I have this straight.
>
>1. you move to a record number - maybe SEEK cSomeKey, or GOTO 500, or LOCATE cSomeField = cSomeVar, or whatever MARC WROTE: I use LOCATE.
>
>2. mygrid.setfocus() MARC WROTE: Yes, but that is the cause of the problem.
>When I do not a SetFocus, nothing move. But with a SetFocus, I lost the first column move to first position.
>
>3. mygrid.refresh() MARC WROTE: Yes, but before the SetFocus.
>
>At which point, the record pointer is sitting at record number 1 in the table (and it should not be)?
>
>Is there any code in the grid refresh()? MARC WROTE: No.
>
>Alan
Previous
Reply
Map
View

Click here to load this message in the networking platform