Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to reference another forms objects???
Message
De
08/01/2001 21:08:59
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00460831
Message ID:
00460952
Vues:
8
>If I opened form2 from form1 shouldn't I be able to refer to form2 properties by saying form2.property??

The way it works is the same way a variable works. DO FORM form2 creates a variable called Form2 to reference the actual form with. That variable can go out of scope like any other variable, so if you didn't define it before hand, its most likely private and went away with the method that called it. You can use the NAME clause to specify where the form reference will be saved (a property or variable, ect.).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform