Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing forms
Message
 
To
18/01/1997 13:32:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00017772
Message ID:
00017778
Views:
64
>I have a form, A that calls forms B and C which
>run at different times within it. I want to
>release B and C from a button on A but I'm getting
>the syntax wrong. I'm using myformB.release
>behind the button on form A and am getting
>told that 'yformB is not an object'
>
>
>Can anyone tell mw what Im doing wrong?
>
>Chris

Are your forms A,B,C in a formset? In this case you can reference them as
thisformset.myFormB.release()

If they are separate forms, try to run them with NAME clause

do form myFormB name FormB

and then reference it by given name FormB

FormB.release()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform