Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding LINKED...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00083669
Message ID:
00083683
Vues:
25
>>I'm trying to use DO FORM formB NAME LINKED, but it's not working right. When I try to launch formB from formA, it just flashes, like there's no READ EVENTS. I have .show, .alwaysontop, but it doesn't help.
>>
>>When I launch the same way using a public var to test it, it works fine. What am I missing?
>
>Had the same problem myself. When you DO FORM from a method in a parent form, the NAME you specify is released when the method is finished executing. The only way to prevent this is to declare the NAME public so it does not lose scope. It also works better if the NAME you specify is different than the actual name you specify in the child form's Name property.

Oh, I get it now, that's what Edward/Philip were saying...but what's the point of using LINKED if I have to declare a public var, since it works fine without LINKED too? (I'm not grumbling at you, Mark, just in general) :)
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