Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing a paramater that a control can see in it's init.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00290802
Message ID:
00290816
Vues:
23
Hi Chaim,

Thanks for thought. My mission in life is to never use a global, though. I'm sure a new method will come handy some other place as well.

Thanks again.

>Yes, there is a workaround, but it's a little ugly. As you correctly observed, it's too late by the time the called form's Init method executes.
> Instead, create a global or private memvar in the calling form. Then query this memvar in the called form.
> This will work fine as long as you don't have multiple instances of the calling form and multiple instances of the called form.
>Hope this helps.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform