Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid
Message
De
07/07/2000 00:36:19
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
 
 
À
07/07/2000 00:29:16
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Grid
Divers
Thread ID:
00389300
Message ID:
00389313
Vues:
18
Hi Andrew,

Sorry, ignore my previous reply, i've realised it was incorrect. What exactly are you trying to do? Do you only want the Text Controls to update when you enter the second field?

Gavin...

>Hi Andrew,
>
>You need to refresh the fields after changing their values.
>
>Try:
>
>thisform.text1.value = thisform.grid1.column1.text1.value
>ThisForm.Text1.Refresh()
>thisform.text2.value = thisform.grid1.column2.text1.value
>ThisForm.Text2.Refresh()
>
>Regards,
>Gavin...
>
>>Hi. I’ve got grid with two columns and two text controls in form. I want to put value form grid columns to text controls. I write next code in AfterRowColChange event:
>>
>>thisform.text1.value = thisform.grid1.column1.text1.value
>>thisform.text2.value = thisform.grid1.column2.text1.value
>>
>>But when I moved in first column1, value changed only in first text1 control and when I moved in second column2, value changed only in second text2 control. How I could solve this problem. Thank you for answer. Andrew.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform