Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing all forms
Message
From
20/11/1998 10:10:58
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159684
Message ID:
00159697
Views:
28
>>>>>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

TGIF.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform