Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG: HIDDEN a property is unusable
Message
From
18/02/2005 02:18:45
 
 
To
17/02/2005 11:13:14
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
00987841
Message ID:
00988231
Views:
34
>>This show that HIDDEN is unusable.
>
>Perhaps you are looking for PROTECTED given your example.

Well, I can follow the reasoning

If SubClass is a subclass of SuperClass, then SubClass inherits all its methods and properties, ie the class definition

The property is hidden for SubClass

The question is: does an inherited method execute in the context of the SubClass or of the SuperClass ?

I'm tempted to say that it is the former and that there should be no error on the second call() of the example

The SubClass does not define a new property, it just hides an existing one

Does that make sense ?
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform