Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public vs Hidden
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00596399
Message ID:
00596756
Views:
25
>Ok then;
>
>I have 2 child classes based off a parent. they use same method
>and property names, but the code us different.
>
>But, I want the PEM's to be hidden. So I have to add identical
>method names and duplicate code into both methods, if I want them
>hidden??

Yes, if you want them Hidden. Why do you want them Hidden and simply not Protected? What is the design issue you are trying to fulfill here?

Since the code is different, you could make the assciated PEMs Protected in the Parent class and override the code in the subclassed children.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform