Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp50 - Can I RELEASE a FORM from another FORM?
Message
 
To
29/04/1997 09:19:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00030066
Message ID:
00030068
Views:
38
>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++.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform