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:25:25
 
 
To
18/01/2008 11:13:14
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:
01283006
Views:
14
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?
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform