Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On select Edit box gets last value
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
On select Edit box gets last value
Miscellaneous
Thread ID:
00614714
Message ID:
00614714
Views:
38
In form, there is four containers having edit box (container class). Each edit box has different control source. The value of these edit boxes can be changed through option control (option group buttons). In the InterActiveChange event of option group I have following codes.
 
do case
case this.value=1
thisform.boxmemo2.edit1.value=alltrim(remarks2.remarks_a)
thisform.boxmemo3.edit1.value=alltrim(remarks2.remarks)
thisform.boxmemo4.edit1.value=alltrim(remarks1.approv_a)
thisform.boxmemo5.edit1.value=alltrim(remarks1.approv)
enddo
case this.value=2
some codes here
enddo

These codes are working well. But when I select any edit box after running the form the last value comes in the edit box. I do not want to use gotfocus in edit box. Any help please
Next
Reply
Map
View

Click here to load this message in the networking platform