Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple forms/formsets
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00248756
Message ID:
00248818
Vues:
25
>>I would like to find a way to close forms or formsets beyond the one that the user is currently working on. Users often open another menu choice without closing the first. This can then become several forms deep. By using formcount and _screen properties, I can determine that a previous form is still open, but I am having a hard time determing if it is a form or part of a formset, which I think I need to know to release it. Perhaps there is some code to close the last form/formset as the next one is opening.
>
>Your interface sounds a little awkward, but anyway, something like:
>
>if type('_screen.activeform.parent.class') = 'C'
>
>should distinguish between formset/form...

I was having trouble when the parent did not exist,
i.e. on a form, and got error messages. It looks like the suggested
code will help me resolve the problem.

Thanks for your help.

P. Bailey
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform