Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing all forms
Message
 
 
À
20/11/1998 09:57:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00159684
Message ID:
00159692
Vues:
30
>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform