Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I do this with WITH THISFORM...ENDWITH?
Message
 
To
26/12/2000 15:35:33
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00456855
Message ID:
00456930
Views:
28
We have a winner!
>>WITH THISFORM
>> .mytextbox1.Value = THISFORM.mytextbox2.Value
>> .mytextbox3.Value = THISFORM.mytextbox4.Value
>>ENDWITH

With / EndWith will only evaluate the left of the =.

__Stephen



>Steve,
>
>Did you try doing it before posting? What, if any, error did you get.
>
>I just made a dummy form, tried your first code, and it worked fine for me.
>
>
>>WITH THISFORM
>> .mytextbox1.Value = .mytextbox2.Value
>> .mytextbox3.Value = .mytextbox4.Value
>>ENDWITH
>>
>>or this?
>>WITH THISFORM
>> .mytextbox1.Value = THISFORM.mytextbox2.Value
>> .mytextbox3.Value = THISFORM.mytextbox4.Value
>>ENDWITH
>>
>>or am I stuck doing only this?
>>THISFORM.mytextbox1.Value = THISFORM.mytextbox2.Value
>>THISFORM.mytextbox3.Value = THISFORM.mytextbox4.Value
>>
>>Just curious. TIA!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform