Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a child form
Message
 
 
À
06/10/2006 04:38:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01159935
Message ID:
01160189
Vues:
14
If the form is created from another object (form, application, etc) then there may be a lingering reference to it there. Not sure why the Hide() would solve the problem though.

>Hi Robert
> I did the same thing in the end but i was wondering if that was a correct way.
>I am more eager to know what was the problem.
>
>Thnx
>Sanjay
>
>>Hi!
>>
>>I've been facing a similar problem some time before. I had to put the following code inside my Destroy() method.
>>
>>
>>thisform.hide
>>thisform.release()
>>dodefault()
>>
>>
>>HTH
>>
>>>Hello,
>>> I am having a problem closing a CHILD FORM in an application. There is no error in the form and everything works normally but when the user tries to close the form nothing happens. The CHILD FORM is not MODAL.
>>>The code in the EXIT button is THISFORM.RELEASE
>>>
>>> This behaviour is only during RUNTIME. Is there any way to find out the problem or FORCE to close the CHILD FORM from within the MAIN APP.
>>>
>>>
>>>TIA
>>>Sanjay
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform