Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden /Proctected properties
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00164076
Message ID:
00164226
Views:
31
>>>Actually, Erik, I am not so sure that it is a bug. If it is I'd like to know.
>>
>>It is.
>>
>>>From the documentation a hidden property is hidden from all objects but
>>>the class itself.
>>
>>The code that breaks my class is in the class definition itself, not in a subclass, and not in an instance. Since
>>
>>>It's in the doc. I personally cannot see the point of it since
>>>you cannot "run a class", you always have to create an object based
>>>on it ....
>>
>>The point is to create a 'clean' interface for your object. If some properties and methods are designed to be used only internally by the class itself, they should not be exposed in the instance or subclass' interface. This was the purpose in the design of Protected and hidden properties, but it seems that something was lost along the way, and the functionality is dysfunctionality.
>
>I have not had a chance to check 6.0, have you? I think I recall Jim Booth saying in one of the Dev-Con sessions that it was fixed????
>
>Jeff

I tested. It is fixed.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform