Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Encapsulation problems
Message
De
04/06/1998 14:04:08
Tim Hockin
Illinois State U - Residential Computing
Normal, Illinois, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00104274
Message ID:
00104848
Vues:
25
>Now I understand where you're coming from, David. You simply have the terms backward. In VFP, Protected properties can only be accessed by objects instantiated from the class they are defined in. Hidden properties can be accessed by objects instantiated from the original class or any subclass they are defined in (but not any code outside the object).

if I add a hidden property to an object, as soon as I try to subclass it, teh subclass does not even see the existance of the hidden property. Maybe you have a different version of VFP than I do? I think you goofed...?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform