Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to execute the release-routines of all open forms
Message
From
22/09/1998 13:52:04
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139245
Message ID:
00139542
Views:
24
Thank you for your answer. And yes, we are posting first to the UT and then to CompuServe, but only 5 seconds later! You have totally discoverd my plan. :)

Greetings,

Afier Appelman

>Haven't seen that messages on CompuServe yet, are you first posting to the UT? < g >
>
>The _SCREEN reference has forms collection and a FormCount property:
>
> For nForm=_Screen.FormCount to 1 Step -1
> _Screen.Forms[m.nForm].Release
> Endfor
>
>You have to loop backwards, because when you release a form, it's removed from the form collection, and all forms behind it will move one index down.
>
>Christof
>
>
>>Hello,
>>
>>We are using Visual FoxPro 5.0. If we want to quit a program we want to know which forms are opened and execute there release routines instead of using the RELEASE ALL-command. Is there a way to do that?
>>
>>Greetings,
>>
>>Afier Appelman
Greetings,

Afier Appelman
Previous
Reply
Map
View

Click here to load this message in the networking platform