>>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement