Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing forms in a form set
Message
De
30/11/1998 16:05:24
 
 
À
30/11/1998 15:56:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00162538
Message ID:
00162546
Vues:
24
>I have created a form set containing 2 forms, one contains a grid and the other contains detail information for a selected record. When I close one of the forms in the set, the other form will not close. After trying numerous scenerios, I have closable = .f. for both forms and I have an exit button which contains the following code:
> THISFORMSET.frmTimeLogGrid.RELEASE()
> THISFORM.RELEASE()
>The exit button is contained on the detail form frmTimeDetail. I understand that the form set method will run after each form method of the same name on each form, and it appears to do this.
>
>The Help, Manuals, and books I have not addressed my problem. Does anyone have any ideas? Thank you in advance for your help.

It's reliable to use FormSet.RemoveObject method to close its form(s). Also, you can ge in troubles closing a form if some its property holds reference to another object. All these 'object-type' properties should be set to .NULL. in form.destroy event.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform