Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passed Parameters to Forms
Message
From
21/05/1998 14:32:36
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00100883
Message ID:
00100904
Views:
71
>>>Help!
>>>How do I pass a parameter to a form so that the parameter is visible to all methods within the form? Using lParameters or parameters in the form Init makes it visible only to this event.
>>>
>>>TIA
>>add a property to the form, in init method, copy passed in parameter value to the new property..
>
>Thanks Tony

If you want to pass and return multiple values from a form, David Frankenbach has an excellent example at

http://www.geocities.com/ResearchTriangle/9834/qfrm001.htm

You can use this technique in DO FORM or CREATEOBJECT. It's really a neat technique, and solves something I was wondering about for quite some time. It also only requires one property to be added to the form, where this property holds the multiple items being passed/returned.
Ryan Hirschey
Previous
Reply
Map
View

Click here to load this message in the networking platform