General information
Category:
Coding, syntax & commands
Title:
Can a Form Know What App It Is In?
Is it possible for a class (in particular, a form class) to know which app it is in at runtime?
VFP.ServerName will not work because it gives the top level program. In my case, the form is usually in an .app that is called by the top level program.
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only