Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use DO FORM with TO
Message
 
To
18/06/2002 18:02:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00669922
Message ID:
00669932
Views:
10
Thanks for replying. Ok I created a property called "b" in FORM_B. In the lostfocus event of .txtmileage I set the following:
thisform.b = thisform.txtmilage.value
then in the unload event I have
return(thisform.b)
however, "b" seem to contain "=" and not the value from lostfocus. I'm I doing something wrong here?


>>I have a FORM_A and FORM_B. FORM_A sends a parameter and returns a value. I put the following code in FORM_A command button:
>>
>>DO FORM FORM_B with parm1 TO parm_return
>>
>>My FORM_B is suppose to send back a value from a textbox for example
>>
>>thisform.txtmileage
>>
>>Where do I put the RETURN statement in FORM_B with this textbox value. I did put it in unload method but it didn't know what thisform.txtmileage was. There must be a way to get the value from textbox on FORM_B back to calling FORM_A form. Does anyone know how to do this?
>
>When the unload method is issued txtmileage is already destroyed. Create a new property in form B (say, mileage) that is filled by valid or lostfocus event of txtmileage. The return statement in form b unload method can safely refer to this new property.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform