Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid
Message
From
07/07/2000 00:36:19
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
 
 
To
07/07/2000 00:29:16
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Grid
Miscellaneous
Thread ID:
00389300
Message ID:
00389313
Views:
17
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform