Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a method from init
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00429886
Message ID:
00429898
Vues:
28
I'm going to answer you both at once...

FRED:
"Are you sure you don't have any code in the Init method of the class instance on the form? If you do, it won't do your "base" code."

VIN:
"That's not normal behavior. You should be able to call other methods from an Init. Are you sure it is not running? It might be worth sticking a breakpoint in there and tracing the program execution...."

There isn't any code overriding it. It does everything else in the init properly. The _only_ thing it doesn't do is call this method. I tried putting a wait window in the method and it doesn't come up. The cursor it builds isn't getting built. It's very strange.

I tried putting a suspend right before the method call and it doesn't suspend. WAIT WINDOW doesn't work, either. But I know it's getting in there and doing the rest of the code because I can see the visible results.

It's quite bizarre.

Thanks,

Michelle
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform