Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking the VCX
Message
From
18/01/2008 12:50:27
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01282951
Message ID:
01283050
Views:
19
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform