Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application Object
Message
De
15/01/2002 11:01:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00604833
Message ID:
00604849
Vues:
33
Tommy,

Where are you creating your object? If you create in your main program it will be private by default, and visible to everything on or below that level. Don't make it local:
oApp = createobject(...
>I am attempting to create an application object to manage the entire program in an effort to do away with public variables, etc...
>
>I have a good portion of it working but from within a form I cannot read properties of the oApp object or see it's existance.
>
>Apparently the oApp object is "out of scope" from within a form.
>
>Any suggestions to solve this problem?
>
>Thanks in advance.
>
>Tommy
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform