Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hacking the VCX
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01282951
Message ID:
01282997
Views:
5
>>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?
>
>You need to change Class and ClassLoc.
>
>BaseClass should be Button for buttons. Class would be MyNewButtonClass. ClassLoc needs to specify the location of the VCX MyButtonClass is in. ClassLoc is relative to the folder the Form is in.

ClassLoc should include the VCX name, not just the location by the way.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform