Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HIDDEN property
Message
De
13/10/2000 14:02:17
 
 
À
13/10/2000 12:08:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00429150
Message ID:
00429264
Vues:
15
Hi John,

I use HIDDEN methods all over my COM stuff. Why? Because I have a lot of validation, parsing, and calculations used internally by the classes that I do not want being called externally. Also, HIDDEN properties are useful to store internal values that you don't want or need to have queried externally, especially if an Assign or Access event is tied to them.

Ko's explanation also makes a lot of sense.

> What is the usage of HIDDEN property since it can not be accessed by any object even it subclass?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform