Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to keep names of Objects
Message
De
18/05/2001 06:41:31
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Where to keep names of Objects
Divers
Thread ID:
00508616
Message ID:
00508616
Vues:
51
Morning

I have various programs in my application that will sometimes need to identify the area that the user is currently in by referencing the Class Object Name (Ie the currently visible object will be the area that the user is in).

However, I am a bit hesitant to go ahead and hard-code these names in to my programs in case they ever change.

I was thinking of keeping the Object names I need in a compile-time constant in a H file.

All I want to know is, is that the best way to handle this?

Thanks
Kev
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform