Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public Variables
Message
From
30/12/1996 16:38:39
 
 
To
30/12/1996 15:20:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00016182
Message ID:
00016187
Views:
29
>>In several applications we are using public variables
>>to store user info, a path to the data, and other misc.
>>items. I know it's better not to use public variables,
>>but I can't find another way to gain access to that
>>information unless I store the info. in a table. Any
>>suggestions would be greatly appreciated.
>>
>>Thanks
>
>OOish way is to create 'application' object based on custom class with set of properties and methods. These properties will work as FPW public variables and methods will perform role of system procedures.

I understand OO in C++ and with forms in VFP, but I'm having trouble
with the concept of how to create a non-visual object that I can assign values to that will be available throughout the application.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform