Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application object
Message
De
04/12/1998 11:40:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00163769
Message ID:
00164115
Vues:
30
>
>Of course, all of this leads me to conclude that we should be talking about oApp.oGlobals rather than a property array, so that the application object's UI doesn't get clouded with all of the methods related to the globals collection.

I don't see the need for globals in the oApp object? My question would be, what does the global variable hold information about?

User - it should be a property of Users
Forms - a property of the Form manager object

What about preferences... well, I don't know the over head of loading preferences from the registrry, but if you have that many that are refered to that ofen, you should have a preferences class. Or, the should be properties of the user class.

Bottom line is, the global holds information about something... that sounds like the property of an object to me... if there is no abstract of the object in your ap, perhaps you should create one! A class!

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform