Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Protected & Hidden Properties
Message
De
23/08/1998 19:34:54
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
23/08/1998 11:53:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00129133
Message ID:
00129169
Vues:
24
Hi, Bernard. If I understand you correctly then it sounds like everything is working the way it is supposed to. A protected property isn't available anywhere outside of its class. Therefore a method in the class can modify the property, but no object that inherits from the class can. You would need to send a message to a class method that say's I want to set a value for oldtop. The method in the class would be responsible for doing it. (i.e. the code to set the property would be in the class.)

HTH


>I am confused about custom properties of classes.
...snip
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform