Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can Class Know What App It's In?
Message
 
To
04/04/2005 07:59:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01001162
Message ID:
01001165
Views:
17
>Is it possible for a class (in particular, a form class) to know which app it is in at runtime?
>
>I know I could add a property to the class and manually specify the name of the app at design time, but this approach would not work if the class appears in more than 1 app.
>
>Thanks


Check
 _vfp.ServerName
to see if this works for you.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform