Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't use My.vcx
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Can't use My.vcx
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01170124
Message ID:
01170124
Vues:
115
I would like to use the new My classlib of the Sedna October CTP, but it seems I set a trap for myself years ago, when I created a Baseclass library named 'Mybase.vcx' containing all my first VFP- derived classes like mytextbox, myspinner, myform...

Now I can instantiate:
LOCAL My AS My
My = NEWOBJECT('My', 'my.vcx')
and it works as long as I don't use one of my own baseclasses - or their children. Then the My. object does not contain the namespaces Computer, App or Settings any more.
In a compiled App I get the error 'Unknown Element App'.

Will I have to rename my basic classlib - and how, without breaking all my derived classes?

*** Sorry, seems to be misplaced here - I posted this thread again in category Sedna
Eugen
New Year's pledge: Last year I learned so much from my errors that I decided to make some more.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform