Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class based on class does not pickup new class behavior
Message
 
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:
01282998
Views:
10
>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?

If you are adding to method behaviour, you need to specify DoDefault in the subclass method in order for the parent method to fire.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform