Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object MyForm is not found.
Message
De
19/04/2000 11:11:34
 
 
À
18/04/2000 04:36:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00360757
Message ID:
00361292
Vues:
16
>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
Fil
Voir

Click here to load this message in the networking platform