Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing all forms
Message
From
20/11/1998 09:57:19
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00159684
Message ID:
00159691
Views:
32
>>>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 .
...
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform