Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hidden /Proctected properties
Message
De
04/12/1998 10:15:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Hidden /Proctected properties
Divers
Thread ID:
00164076
Message ID:
00164076
Vues:
78
Up until now I have not made it a practice to to make custom properties of my classes either hidden or protected. Never had a need to, and I don't really yet, but a couple of my classes are getting really heavy with properties and methods in the property sheet, and I am finding that most of these props and methods are only for internal use.

So I went to the class definition and set a few of them to hidden. now when I run them, it crashes with "property 'myproperty' is not found.

I meant hidden from subclasses and instances, not from itself! The code that crashes is in the same class definition that defines the hidden properties.

Come to think of it, I think I tried this long ago with the same results and decided it wasn't worth the trouble. What am I missing here?
Erik Moore
Clientelligence
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform