Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Screen.Activeform.Name NOT accurate
Message
From
06/06/2007 04:07:05
 
 
To
05/06/2007 17:16:27
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01230724
Message ID:
01230838
Views:
24
Right now, it is always returning the mainform which launches the other forms. Some of the launched forms are modal and some are modeless.

One other idea for you that I just thought of. _Screen.Activeform does not change to the form being instantiated until its init() finishes. So if you check _Screen.Activeform in the load() or init() of the form currently being launched, it will refer to the calling form and not the current form.
Previous
Reply
Map
View

Click here to load this message in the networking platform