Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disappearing Close button?
Message
De
19/08/1998 08:40:12
 
 
À
18/08/1998 19:11:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00127692
Message ID:
00128069
Vues:
45
>>>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
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform