Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hacking the VCX
Message
De
18/01/2008 12:50:27
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01282951
Message ID:
01283050
Vues:
20
>>I need to change the baseclass (I think) for a set of buttons (MyButtonsClass) I have in a container class. I changed all the Baseclass fields to MyNewButtonClass for the individual button records, but that did not seem to have any affect. Then I tried changing the Class field, and that resulted in errors when the VCX was compiled. What should be changed in order to have my buttons reference MyNewButtonClass instead of the default Foxpro CommandButton?
>
>Jay,
>
>You can use the class browser to change the parent class. It has an interface that will handle all of the dependancies for you.

You could also use the (excellent) Clasedit -application that was distributed with ""1001 Things You Always Wanted to Know about Visual FoxPro". If you don't have the book, you might ask Andy Kramek if you could get a copy of it (Andy wrote Clasedit, and he is often found on this forum (and definitely on the Foxite.com -site).
Pertti Karjalainen
Product Manager
Northern Lights Software
Fairfax, CA USA
www.northernlightssoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform