Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tastrade FrameWork
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00061667
Message ID:
00061725
Views:
37
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform