Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference To the Highest Level Container
Message
 
À
25/03/2003 15:56:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00769815
Message ID:
00769952
Vues:
17
Hi Paul

After posting this thread I began experimenting some more and came up with this same idea. I already have an application object (goApp) so I can easily add it there.

Thanks
Simon


>>I understand how to get a reference to the highest level container by moving up the container heirarchy but what I am looking for is suggestions for the fastest method to obtain this object reference to the highest level container. It will be called often in the application so I want the fastest technique.
>
>Can you just do it once, and store that highest level container refernce to a well-known location so that you don't need to do it again?
>Some people have an application object that is always there (goAPP) on a public variable.
>Some people use ADDPROPERTY() to _SCREEN to store well known global references.
>
>We have a goEnvironment object that handles this kind of thing, first time it goes and finds out and after that it uses internal property references.
Simon White
dCipher Computing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform