Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RETURN VALUES from a FORM
Message
 
To
22/06/1999 10:24:48
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00232483
Message ID:
00232489
Views:
12
Franck,

I believe it is easier to pass a reference to the calling form, and
change the values there. You could also create an array property if
you need to pass back unlimited parameters.

Assuming an array exists: ThisForm.ReturnArray(10)

For Example:
DO FORM CHANGEIT WITH ThisForm


In the changit Init:
Parameter oParentForm

ThisForm.ReturnForm = oParentForm && Store reference to form

In the unload event:
DIMENSION ThisForm.ReturnForm.ReturnArray(100) && Expand calling forms array
* Store values to array

**
Hope that is not too confusing!
-Ed


>Hello
>
>i have a command like this :
>
>DO FORM C:\CIMWIN\PRG\ECHEANCE.SCX WITH nAnDeb, nDuree, nMont
>
>and i would like to change the value in the form and in the UNLOAD procedure change the value of this 3 parameters and RETURN IT !
>
>HOW CAN I RETURN MORE THAN 1 VARIABLES ???
>
>THANKS A LOT
Previous
Reply
Map
View

Click here to load this message in the networking platform