Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Releasing a Form from a prg
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00484409
Message ID:
00484426
Vues:
19
>Thisform.release will release the currently active form, but how do I release a form in another form's code.
>
>eg the currently active form is FORMA. I want to release FORMB based on events under the control of FORMA.
>
>Any ideas?
>
>Colin Northway

Colin

You must have a reference to the form you want to release

Public oFormB
Do Form FormB name oFormB

in formA
oFormb.Release()

Or if you want to do things properly then

For Each oForm in _screen.forms

do a for Each look through _screen.forms
Will Jones
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform