Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application Object
Message
From
15/01/2002 11:01:23
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00604833
Message ID:
00604849
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform