Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capturing Forms
Message
From
15/03/2004 09:53:50
 
 
To
15/03/2004 09:06:32
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00886260
Message ID:
00886274
Views:
15
Hi, Jeffrey.

>How can I capture the name of my forms in a global variable?

You mean the caption of a form? You can get to the current active form by using:
if type( "_Screen.ActiveForm" ) = "O"
   x = _Screen.ActiveForm.Caption
endif
Why a global variable? Global variables are generally not a good idea. Maybe you can use an application-wide object (like _Screen.oApp), and then use a property inside it to hold this (if it's really needed).

Tell me more about what you need and I'll try to help.

See you,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform