Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a Form from a prg
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00484409
Message ID:
00484426
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform