Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting if a form is running
Message
 
To
01/12/2000 11:53:40
Josh Fedke
National Financial Corporation
Milwaukee, Wisconsin, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00448132
Message ID:
00448137
Views:
9
>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.


Look for WExist() in the help file
Previous
Reply
Map
View

Click here to load this message in the networking platform