Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classes not to subclass
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00792211
Message ID:
00792652
Views:
20
>>Hi Jim:
>>Actually, what I was referring to is are there really any classes that CAN NOT be subclassed. For example, I have subclassed the "separator" that is used on toolbars only to find out that the subclass doesn't work. Hence, this class should not be subclassed. Isn't same true of the OLE classes? Any others that you know of?
>
>John,
>
>In what way does the separator subclass not work? To the best of my knowledge there is no VFP base class that cannot be subclassed.

If I create a toolbar and try to drop the subclassed separator on the toolbar (after adding a couple of buttons), the separator does not work (separate). If I use the base class separator, it works fine.
John Fatte'

Life is beautiful!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform