Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternative to public variables
Message
 
To
11/06/2002 16:07:35
Sammy Derban
Ghana Telecom
Accra, Ghana
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00667071
Message ID:
00667722
Views:
17
Although I too like to use a global application object, another alternative you may want to consider is using the _screen object as your application object. Instead of having to instantiate a separate global object for storing your application properties, you can use the _screen.addproperty() method to store them to the _screen object, then just use _screen.propname to refer to them later. The disadvantage to this is that you can't add access or assign methods to these properties, and you can't have any custom methods.
Previous
Reply
Map
View

Click here to load this message in the networking platform