Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh Grid
Message
From
13/02/2003 14:51:25
 
 
To
13/02/2003 14:02:56
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00752793
Message ID:
00752858
Views:
27
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

2. mygrid.setfocus()

3. mygrid.refresh()

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()?

Alan

>Salut Sylvain,
>
>>  Are you only refreshing the grid
>> or did you also move the record pointer in the cursor?
>I do both. But after I move cursor to the current record (row in the grid),
>I call a Grid.SetFocus and that seems to be the cause of the problem. Because I tried without SetFocus and enverything is ok. For me SetFocus is important to mark the row in the grid. How can I resolve that problem now?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform