Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bugs in Grid??
Message
De
20/10/1998 15:21:59
 
 
À
20/10/1998 13:30:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00148569
Message ID:
00148606
Vues:
23
>Correction:
>
>Hi,
>
>I have the following code in the command1 button of a click event.
>
>Object: Command1 Procedure: Click
>
>ThisForm.grid1.ActivateCell( 3, 2 ) && row 3 , column 2
>ThisForm.grid1.Refresh
>ViewValue = ThisForm.grid1.grcTest.txtTest.value
>wait window ViewValue
>
>Thanks

It seems to me that issueing Grid.Setfocus will help here. However, the safer way to get values from grid is to get them from Grid.Recordsource, i.e. you move record pointer to appropriate record (GO,SKIP,SEEK,LOCATE) and read appropriate field values.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform