Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't use My.vcx
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - 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:
01170525
Vues:
14
Hi Eugen,

You can open my.vcx in the Class Browser and rename mybase.vcx to any other name. After that you can either rebuild my.app or delete it. I'm not sure why it was included at all.

>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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform