Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control collection for all running forms?
Message
From
07/04/1999 12:09:34
 
 
To
07/04/1999 11:45:53
John Streeter
Wanger Asset Management, L.P.
Chicago, Illinois, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00206016
Message ID:
00206025
Views:
29
>Is there a way to access the collection that owns all running VFP forms?
>
>I have a "parent" form that runs "As Top-Level" and several "child" forms that run inside the parent "In Top-Level." Some of the child level forms need to run alone, so I need a way to determine which forms are running.
>
>Initially, I thought that Parent.Controls might contain the child forms. Had this been true, I could have quickly looped through the collection looking for BaseClass = "Form" or whatever.
>
>Next I looked for an application-level collection that contains all forms. The application object seemed a likely suspect ... but no luck there. Couldn't find anything else.
>
>MS indicated that there is a collection containing all forms (evident in the Debugger's Locals window) but this collection is not exposed to the developer via native-VFP code.
>
>Does anyone have any suggestions? Are there any options other than Formsets?
>
>Thanks.
>
>JS

_SCREEN.Forms collection should have it.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform