Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hidden /Proctected properties
Message
 
À
04/12/1998 14:41:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00164076
Message ID:
00164419
Vues:
22
Thanks for letting us know, Erik.

Michel.

================== Original message follows ======================

>>>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform