Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I check if a form is open (ie not released)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00692902
Message ID:
00693143
Views:
23
Try this code as all open forms are kept as an array of objects in activeforms collection.

************

llFound=.f.
For Each loForm IN _SCREEN.ACTIVEFORMS
IF UPPER(ALL(loForm.Caption))='MYFORM'
llFound=.T.
EXIT
ENDIF
ENDFOR
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform