Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to Create Object
Message
 
 
À
27/02/2008 11:51:38
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01296912
Message ID:
01296916
Vues:
8
>I am removing the dependency on the WizBtns classes in our base classes. This appears to be the last thing to do.
>
>I have a custom class in the FM_BaseButtons library called GridAddRec. In the AddRec method of the FM_ButtonBar class I make this call:
>
>
>oAddRec = CREATE("GridAddRec")
>
>
>But it is unable to create it. If I have the WizBtns.vcx in my project, it works. I copied the custom class from there into FM_BaseButtons and made sure there were no references to WizBtns.
>
>Why would the CREATE not be able to find the GridAddRec class if it exists in the same library?

1) Does it work with NewObject and explicitly specifying the class library?

2) Is GridAddRec class based on some base VFP class?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform