Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>Hi,
>>
>>I have a menu option that should close VFP in my run time application. But some times all the forms don't close down, is there any way the forms can close properly or is there a way i can tell which forms are open and close them my self? for example store the forms names in an array.
>>
>>
>>thanks
>>
>>daryl
>>kelworth
>
>In your shutdown routine you could iterate through the _SCREEN.Forms colection, closing any open forms that you find.
Hi Allan,
In addition to Mark's suggestion, we do put the forms that are visible into an array. This allows us, much like rolling through _SCREEN.Forms the ability to manipulate the forms (including releasing them) by refrencing them through the array. We use a top-level form and _SCREEN is not around for use.
Steve
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement