Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object MyForm is not found.
Message
From
19/04/2000 11:11:34
 
 
To
18/04/2000 04:36:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00360757
Message ID:
00361292
Views:
15
>I try to activate an form with
>MyForm.Activate

Activate() is an event, calling it will only do what code you have put in it. Use Show() instead.

>But i recieve this errorcode
>Object MyForm is not found.
>But i can see the form in the screen.
>I cant see the form in the debugger to.

Then your object reference went out of scope. I would create a form manager with a collection of your forms to use instead, or use _screen.forms(). What are you calling this from? If its a program or object called by your form, you can pass the reference back and forth and save it in a property or something:

MyFunction(This)
Previous
Reply
Map
View

Click here to load this message in the networking platform