Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>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)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement