Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
1001 Things, xFrmMgr class, how do I use the parameters?
Message
De
21/11/2002 11:27:07
 
 
À
21/11/2002 11:03:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00724352
Message ID:
00725281
Vues:
21
Margaret,

The parameter itself is only visible in the init() method of the form. If you need it to persist longer than that, you can save it to a custom property of the form (if you don't know how to add a property to a form, just ask).

For example, let's say you want to pass a customer name to a form:
* init() method of form
lparameters lcCustomerName

this.customerName = lcCustomerName
Now, from anywhere inside of the form, you can see thisform.customerName.

HTH.

>I do have the sample code working and I now have forms working that are being run by the manager. What I am asking is once I am inside a form that is being managed by the xFrmMgr class, and which is has xFrmStdManaged as a parent class, how do I use the parameters that the class passed in when it created the form. Say I pass in a parameter that is a badge number and now I want to show it on the screen in a text box, how do I access that parameter? when can I access the parameter, does it have to be after the init?
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform