Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting if a form is running
Message
From
01/12/2000 11:53:40
Josh Fedke
National Financial Corporation
Milwaukee, Wisconsin, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Detecting if a form is running
Miscellaneous
Thread ID:
00448132
Message ID:
00448132
Views:
46
I'm trying to detect if a toplevel, modeless form is running. I'm trying something like:

if type("test_form.width") = "U" &&it will be "U" if form isn't running
do form test_form
endif

The type is always "U", even when the form is running. I have considered using amembers(...), but if the form isn't running, amembers(...) throws an error.


Anyone have any other ideas/corrections? Thanks in advance.
Next
Reply
Map
View

Click here to load this message in the networking platform