Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO FORM...
Message
From
28/09/2001 11:53:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
28/09/2001 11:45:08
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00561953
Message ID:
00561958
Views:
21
>Hi! Guess what: I got a problem! :o) Because there's no good examples on VFP Help, I would like a "full" example of the DO FORM function with words WITH, TO, LINKED, etc. In my case, my parameter list contains A and B (only B must be linked). The form called must return B and C (as I said, B was linked but here I want C value too, created in form called!) I hope it's plane to you! lol Thanx a lot

FormA calls formB:
MyValue = 5
do form FormB with MyValue to ReturnValue
ThisForm.DoSomethingWith(ReturnValue)
If you want FormB to return a value, FormB has to be modal.

FormB returns the return value in method Form.Unload(), if I remember correctly.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform