Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to keep names of Objects
Message
From
18/05/2001 06:41:31
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Where to keep names of Objects
Miscellaneous
Thread ID:
00508616
Message ID:
00508616
Views:
52
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
Next
Reply
Map
View

Click here to load this message in the networking platform