General information
Category:
Forms & Form designer
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only