Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help with closebox
Message
 
À
01/07/1999 09:37:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00236421
Message ID:
00236440
Vues:
10
>I call a child form from a toolbar which is part of a parent formset that had a particular table selected. The child form selects another table for editing. I would like to be able to close the child form from the closebox and reselect the table associated with the parent formset. How do I go about doing this? Where would I place any code I want to execute as the child form closes from the closebox? I also set enable to .F. for all the buttons on the parent toolbar and work off of commandbuttons on the child form. So I need to set enable to .T. Could this command be place in the same location?

Yes...

The child Queryunload is what gets called when you close from the titlebar, you can put code in there...

Depending on how you launch your formset, you can refer to the toolbar directly. If you launch with Do Form, use the NAME clause - then you can refer to the toolbar from the child easily. If you launch with CREATEOBJ(), use an app object property instead...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform