Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refresh Grid
Message
De
13/02/2003 14:51:25
 
 
À
13/02/2003 14:02:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00752793
Message ID:
00752858
Vues:
16
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform