Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Leaving a form but still having it in memory.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00060791
Message ID:
00060814
Vues:
34
Steve, In addition to Hide(), you may need to change your form WindowType property from Modal to Modeless. A modal form must be released before you continue with other forms.

HTH
Barbara

>Use the Hide() method instead of Release(). This will allow the program to continue. Basically, you can need only to Show() and Hide() it.
>
>Vlad
>
>>I have several custom classes that each instantiate a form. One in particular has it's form called over and over again. I'd like to be able to leave this form in memory. I have found that once I do the .Show() method and the form is in control, I cannot just set it aside but must release it to continue. Is there a way to keep the form in memory and have a user press an OK or Cancel button that does not release the form but lets me continue on? This would allow me to create the form only once in the init of the custom class. Now I have to do .AddObject() each time I want the form to display.
>>
>>Steve
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform