Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing all forms
Message
From
20/11/1998 09:58:49
 
 
To
20/11/1998 09:57:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159684
Message ID:
00159692
Views:
29
>>>>I need to close all the forms so the user can relogon to a different database. I'm thinking I need to do something with _screen and controls[], but I'm not sure what syntax I need.
>>>>
>>>>Thanks,
>>>>
>>>>-Michelle
>>>
>>>You may loop through _SCREEN.Forms()
>>
>>OK, that gets me closer...
>>
>>
>>FOR i = 1 TO ???
>>   _SCREEN.Forms(i).RELEASE()
>>ENDFOR
>>
>>
>>Like that? What do I put for the ??? ?
>>
>>Thanks,
>>
>>-Michelle
>nForms=_screen.formcount
>FOR i=1 to nForms .
>...

Heh... Someone actually beat you to an answer. :)

Thanks,

-Michelle
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform