Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tastrade FrameWork
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00061667
Message ID:
00061725
Vues:
32
>I am using the Tastrade's type of framework for my application. In the login form, which is created and run from the 'main::init()' method, I need to get access to an object that I created in the 'Application::Init()' class. The name of the object that I created is 'oRegistry'. The 'oRegistry' object is able to read and write data to the registry.

Joseph, how did you create it? CREATEOBJECT or AddObject?
If it is added to oApp object you should call it oApp.oRegistry.myMethod()
If it is created with CREATEOBJECT you need to make sure that oRegistry was declared as PUBLIC variable first, to be accessible from any place.

HTH, Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform