Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inheritance loses properties/methods
Message
From
13/07/2000 10:02:11
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, United States
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00391738
Message ID:
00391781
Views:
10
>What does the debugger says? I mean, did you try playing inside the debugger just to see if it skips the said based properties and methods?

No I did not use the debugger. I'm not sure I can in this situation. For instance, if one of my properties that I changed in the parent class was cmdButton.Caption = "New Caption", how am I going to watch for that??

Besides, these changes aren't showing up in Design time OR Run time.
For instance... I should see that the Button's Caption is "New Caption" at design time on all my old forms.

The thread I remember reading (but can't find) explained that it wasn't a user error, it's how Inheritance works. This OOP "guru" in that thread mentioned something about using subclassed button in the container, and then changing THOSE component at a parent level--- or something like that (if I knew, I wouldn't be asking :)

Thanks,
Dustin
Previous
Reply
Map
View

Click here to load this message in the networking platform