Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What forms are open
Message
 
To
12/10/1999 11:14:32
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00275457
Message ID:
00275749
Views:
22
>>Hi,
>>
>>I have a menu option that should close VFP in my run time application. But some times all the forms don't close down, is there any way the forms can close properly or is there a way i can tell which forms are open and close them my self? for example store the forms names in an array.
>>
>>
>>thanks
>>
>>daryl
>>kelworth
>
>In your shutdown routine you could iterate through the _SCREEN.Forms colection, closing any open forms that you find.

Hi Allan,

In addition to Mark's suggestion, we do put the forms that are visible into an array. This allows us, much like rolling through _SCREEN.Forms the ability to manipulate the forms (including releasing them) by refrencing them through the array. We use a top-level form and _SCREEN is not around for use.

Steve
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform