Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modify baseclass of an object
Message
De
06/05/2005 10:21:02
 
 
À
05/05/2005 16:06:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Divers
Thread ID:
01011425
Message ID:
01011598
Vues:
18
Hi Fred ! Thanks a lot. I have tried modifying the class, and classloc. But still it doesnt seem to work. The problem is that im really editing a VCX, to change its base class. Do you think it should work? Thanks again, An Michel R.


>HI!
>
>A program was made without subclassing, big mistake, I know. To correct this, I try to open the VCX as a table and to change the BASECLASS field of the object im interested, a Form. But this doesn't seem to work... Any idea on how can I achieve this work of substituting base classes? Thanks a lot...
>
>An Michel R.

Hope you made a backup before you started.

You also need to change the classloc field to point to the .VCX that contain your classes.
Update:

It's not the baseclass field you want to change at all it's the Class field (and the classloc).
Fred
Microsoft Visual FoxPro MVP
Join us at El Zorro:
www.elzorro.org

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform