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
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement