Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public Variables
Message
De
30/12/1996 16:38:39
 
 
À
30/12/1996 15:20:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00016182
Message ID:
00016187
Vues:
41
>>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
Fil
Voir

Click here to load this message in the networking platform