Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class based on class does not pickup new class behavior
Message
From
18/01/2008 11:51:38
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01282992
Message ID:
01283025
Views:
17
>If you are adding to method behaviour, you need to specify DoDefault in the subclass method in order for the parent method to fire.

No code added, but I put DODEFAULT() in anyway and MyPictureButtonsClass still does not have all the behavior that the MyTextButtonsClass does. It is not running the code that is in the MyButtonClass methods. I had changed the buttons in MyTextButtonsClass to be based off of the MyButtonClass, but did not change MyPictureButtonsClass buttons to do the same. I thought they would inherit all behavior from MyTextButtonsClass.
Previous
Reply
Map
View

Click here to load this message in the networking platform