Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing modeless forms.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00292565
Message ID:
00292676
Vues:
21
>I understand now why I can't reference my form, but I'm pretty confused. The variable used to reference the form is scoped to the calling event. Right? so as soon as the event is over the variable goes away. What I'm confused about is how I am supposed to handle this. Do I make the variable public before calling the form? IE:
>
>PUBLIC myForm
>DO FORM myForm.scx

No, like this:

DO FORM myForm NAME oMyForm

Now, forms launched from this form can refer to it as

oMyForm.Something
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform