Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protected property is italics
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00608655
Message ID:
00609932
Vues:
20
David,

If you want to adhere to "good O-O theory", then you'll have to explicitly subclass the class, add all the code you are wanting to use to extend the class to the subclass and then drop an instance of subclass on your form and never add any code to it in the form.

>I try to use protected properties whenever possible because I feel that making the visibility as restricted as possible is good OOP design. I haven't used hidden properties in the past.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform