Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - Can I RELEASE a FORM from another FORM?
Message
 
À
29/04/1997 09:19:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00030066
Message ID:
00030068
Vues:
40
>Can I RELEASE a FORM from another FORM? Most of the
>time I use RELEASE THISFORM, but now I need to RELEASE
>A FORM outside the FORM I am in.
>
>help

First you need to get a reference to the "other" form. If the other form is based on a [global] variable then you can do something like goOtherForm.Release

If the form's name is unique (and you have VFP 5) you can look through _VFP.Forms[x] where Forms is an array of all the forms and then do a release on the correct form.

HTH,
Peter
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform