Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passed Parameters to Forms
Message
De
21/05/1998 14:32:36
Ryan Hirschey
Federal Reserve Bank of New York
New York City, New York, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00100883
Message ID:
00100904
Vues:
69
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform