Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to derive form objects from new class
Message
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01225386
Message ID:
01225389
Views:
23
>Hi,
>
>This is a general question, but I'm using the commandbars controls from arg. The classes have recently been updated. Do I need to create new controls that inherit from the updated classes, or is there a way simply to point the old controls to the new base classes? It's kind of a pain everytime there is an update, having to redo everything.
>
>So basically the question is, can old controls inherit from a new class library?
>
>Thanks,
>
>Marcel

If the class names remain the same and they reside in the same classlibrary then simply using the new version of classlibrary (backup all your project first) should work.

If the class names have changed or the name of the classlib has changed then you have a headache of repointing the classes to new ones. I usually do it manually by hacking forms/classlibs, but AFAIK there is a tool available (if my memory serves me right by Glenn Domeracki (sorry for the last name misspell if any))
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform