Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
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