Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple form question
Message
 
À
30/01/2003 16:15:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00747365
Message ID:
00747611
Vues:
19
>>Parameters passed to a form are first available in the form.init() right?
>
>Let's say the parameters are passed to the Form.Init(). They are destroyed afterwards, so the logical thing to do is put code similar to the following in the Form.Init():
>
>
>* Form.Init()
>lparameters tnPar1, tcPar2
>This.nPar1 = tnPar1
>This.cPar2 = tcPar2
>DoDefault()
>...
>
>
>Regards,
>
>Hilmar.

Hilmar,

That is excactly what I did but at a later point I needed the passed parameter in one of the control's init() and this.nPar1 was not defined yet and that is how this whole thing came up.

Thanks for your input.

Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform