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:40:59
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
18/01/2008 11:25:25
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01282992
Message ID:
01283023
Views:
12
But MyPictureButtonsClass does not run the code in MyButtonClass. MyTextButtonsClass does run that code though.

>Sounds like it is working right. The code won't cascade down, but calls will go through the class hierarchy and run correctly.
>
>>This stuff is killing me!
>>
>>MyPictureButtonsClass (container of buttons)
>>
>>...container based on:
>>
>>MyTextButtonsClass (container of buttons)
>>
>>...buttons based on:
>>
>>MyButtonClass (custom class based on CommandButton)
>>
>>MyPictureButtonsClass is not picking up code in MyButtonClass. Only code in MyTextButtonsClass. If I edit buttons in MyTextButtonsClass, I can see the Parent code of MyButtonClass. If I edit buttons in MyPictureButtonsClass, I only see Parent code from MyTextButtonsClass, not the next level down (up?) in MyButtonClass. I expected the behavior of MyButtonClass to cascade all the way up to MyPictureButtonClass.
>>
>>Whew! Make any sense?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform