Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling a method from init
Message
 
 
À
16/10/2000 14:25:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00429886
Message ID:
00429916
Vues:
16
Sigh. Well, that figured it out. I couldn't figure out why it wouldn't hit the suspend if I put it in the class, but it _would_ hit it in the code on the form. So I tried what you said and my method call wasn't there!

I took a look at the properties and it had the wrong class library. I had forgotten about VFP hardcoding the paths. So even though I did a SET CLASSLIB to the right place in the form, it used the hardcoded paths instead. So, basically, all the changes I made to the class were never seen because it was looking at the wrong class. Who's bright idea was it to hardcode the paths, anyway?

Is there any way to fix the pathing besides hacking the VCX/SCX?

I'm CCing this to all so you can all stop trying to figure this mess out. :)

Thanks everyoe for your help. Sorry for being such a dumbass. LOL!

Michelle


>If you don't hit the SUSPEND, you're NOT running the code you think you are. Try putting a SUSPEND in the class code on the form (along with a DODEFAULT()) and see what's happening as you step through it.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform