Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is a form active?
Message
 
To
03/04/2000 15:05:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00354489
Message ID:
00354503
Views:
15
>How to know if a form is activated before.
>Thanks

Do you mean if you have another instance of this form already running? In this case you can go through _screen.forms collection and get the name from there. For example:

FOR EACH loForm IN _screen.forms
IF loForm.Name = "myForm"
WAIT WINDOW "my form is already running"
exit
ENDIF
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform