Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does WEXIST() tell if a form is open?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00906762
Message ID:
00906823
Views:
16
>If I

>DO FORM form1 NAME myform1
>will WEXIST(myform1) result in .t.? What function will tell me if myform1 >is open?

>Thanks,

>dg

Hi Doyle,

If you want only to know if your form is open, you can use also something like the code below..
_ACTFORM = "Customer Maintenance" && Change to your Forms Caption
STORE WTITLE() TO ACTWIN
IF _ACTFORM = ALLTR(ACTWIN) && Means your form is Open...
   ***Your Code Block
ELSE
   *** Your Code Block
ENDIF
NOTE: FORMS CAPTION AND YOUR VARIABLE _ACTFORM SHOULD BE EXACTLY EQUAL, ITS CASE SENSITIVE
Jojo R. dela Cuesta, B.Sc.
eConsultant, Programmer
Dalplus Technologies
http://www.dalplus.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform