Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine existing Forms?
Message
 
To
25/06/1998 19:58:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00111765
Message ID:
00111795
Views:
15
>I've tried searching all over the place, but can't seem to find a nice, clean way of querying my application to tell me what Forms exist. I know I can get the top most one using WONTOP(), but does anyone know an easy way to return all of the open windows to an array of strings?
Curt,

The best way to know what forms exist is to use a form manager object to launch them. Basically the menu calls oFormMgr.LaunchForm("FormName"). The launchform mehtosd runs the form and makes a record of it having been run. The form class knows to unregister itself with the form manager when it is destroyed.

Short of that you can try using _SCREEN.FORMS() collection.
Previous
Reply
Map
View

Click here to load this message in the networking platform