Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing Close button?
Message
De
19/08/1998 13:10:48
 
 
À
19/08/1998 08:40:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127692
Message ID:
00128180
Vues:
46
>>>>Let say, some custom form property holds object reference, e.g. form contains pageframe and each page activate event fires:
>>>>Thisform.ActivePageObject=This && surely, it's just an example, it can be buttons, textboxes etc , even exteranl objects
>>>>Now, if you will not issue This.ActivePageObject=.NULL. in Form.Destroy event, you cannot release the form and close button is grayed out.
>>>
>>>Thanks, Ed. That's what I thought you were saying. I just haven't run into this one and wanted to be sure.
>>
>>This behavior only surfaces when the user clicks on the close button and a reference is outstanding. The button will not gray itself.
>
>It will also gray out if some code fires
>RELEASE WINDOW "formname"
>unsuccessfully trying to close the form

or.. (memory jogging now) if there is an outstanding READ EVENTS without a CLEAR EVENTS, and the form tries to close...
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform