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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only