Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does a form exist? (I'm missing something simple)
Message
 
 
To
30/11/2002 19:44:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00728422
Message ID:
00728426
Views:
16
Change it to
if type('form2')='O' and NOT ISNULL(form2)
Or itterate through _SCREEN.Forms collection.

>I have an app that has two forms. Each are instantiated using:
>
>do form form1 name form1 linked
>do form form2 name form2 linked
>
>Form1 needs to know if form2 is running. If, from form1 I do:
>
>if type('form2')='O'
>
>it always returns true, even if form2 is closed and no longer operating, but debug will show its value as .null. if it's not running. How can form1 know if form2 is still alive and well?
>
>Thanks a bunch,
>Allen
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform