Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem w/ Object Visibility
Message
 
To
15/08/2000 09:01:25
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00404848
Message ID:
00404898
Views:
9
Bruce,

There is your problem, the Init of oApp is not completing and the object is not fully instantiated. Do not do the READ EVENTS in the INIT of the class. Instead give the app object a startup method, put your read events and menu stuff in that method, and then do this;

SET CLASSLIB TO test
oApp = CREATEOBJECT("APP")
oApp.StartUp()

You don't need the public variable as the read events will stop execution and prevent the oApp var from going out of scope on you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform