Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
THISFORM.Release doesn't release the form!?
Message
De
06/11/1998 11:14:16
 
 
À
06/11/1998 09:00:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00154872
Message ID:
00155245
Vues:
29
>>>Hello,
>>>
>>>We are using VisualFoxPro 6.0. We defined a form in our class library. We create this form like this:
>>>
>>>fSearch = CREATEOBJECT("listform")
>>>
>>>Works like a charm. After that we put in the Init() of that form the following:
>>>
>>>THISFORM.SHOW()
>>>
>>>We have defined a button on this form with the Cancel property set to TRUE. When we press this button the following is done (in the Click() event):
>>>
>>>THISFORM.RELEASE()
>>>
>>>And nothing happens. The form ISN'T closed. But when we press the X (closebutton) on the righttop side of the form it DOES close.
>>>
>>>Are we missing something simple or??
>>>
>>>Thanks in advance!
>>
>>Try
>>RELEASE Thisform
>
>Ed,
>
>I was having a similar problem and the suggestion was to use THISFORM.Release()
>
>what's the difference? Is there a *specific* time when one is better than the other?
>
>Thanks

RELEASE Thisform is more brutal way and sometimes works when Thisform.Release() fails.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform