Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HIDDEN property
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00429150
Message ID:
00429174
Vues:
15
>>HI,
>> What is the usage of HIDDEN property since it can not be accessed by any object even it subclass?
>>
>>Thank you

>A hidden property is used in that class only.
>you can use it for example to store internal data to.
>The subclassed classes don't need that data so it can be hidden.

A example for this:
If you want to have a grid class with a RowChange function you can code that in your grid.
for that functionality you need to store the actual row in a property of that grid.
if the new value differs from the one in the property you call the home made RowChange method.
Now the subclassed classes haven't anything to do with that property.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform