Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters from one form to another form
Message
 
À
24/12/1998 13:05:26
Frank Su
NOVAtime Technology, Inc.
Monterey Park, Californie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00170329
Message ID:
00170351
Vues:
15
>I tried to pass a set of parameters using the following command:
>=doform("MyForm",tParName1,tParName2,...)
>
>In the "MyForm" ini event, those parameters are defined but those parameters disappeared in the rest of the objects(like combox box) in "MyForm".
>
>Is there any way to setup those variables as public only in this form without setting a Property in the form?

I'm sure there are other ways, but this should work:

MyForm.Init()
LPARAMETERS lcParam

PRIVATE pcParam

pcParam = lcParam

The pcParam should be visable to all lower routines.

Is there some reason you don't want to use a property?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform