Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing multiple forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00244464
Message ID:
00244629
Vues:
22
>>Mark,
>> I have three forms that I am having problems with releasing. They are not a part of the same formset either, just three individual forms. Did you ever find an answer to your question?
>>
>>Jeff T.
>
>
>DO FORM Form1 NAME FirstInstance LINKED
>DO FORM Form1 NAME SecondInstance LINKED
>
>RELEASE FirstInstance
>RELEASE SecondInstance
>
>All of my forms are instantiated from class libraries using CREATEOBJECT().
>I attach each subordinate form to an array property of the main form. In the QueryUnLoad() of the main form, I enumerate this array and close the child forms. Their QueryUnload() methods ensure that any validation requirements have been met before they are Released.
>
>HTH

Simply another approach....many apps have either a form mgr or a part of their app object that is a form mgr. You DO FORM NAME as suggested and put the object reference into an array. You can then manipulate all the forms on display via the array reference.

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform