Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encapsulation problems
Message
De
04/06/1998 08:25:18
 
 
À
04/06/1998 01:37:37
David Moreau
Iglesia Ni Cristo - Dnm
Quezon, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00104274
Message ID:
00104614
Vues:
22
Hi David,

>My confusion has been stirred by VFP's 'protected' in light of 'hidden'. Hidden or private properties and methods are normally used for internal processing inside the class where they are introduced. On the other hand, protected are used for the whole class lineage. This means that I should have access to protected members at all levels of the class hierarchy. I have found this to not be true in VFP the way I expect it to be. I expect that if I place a class on a form and override any of the functions of that instance, I should be able to access all of the protected members in the whole lineage from within that overridden method. My experience is that this is not true.

It's semantics rather than technical. :)

Emer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform