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:
00609175
Vues:
23
>When you drop your class on the form you are in effect creating a subclass and you can override PEMs. Any code you add to this instance ...

Notice how you used both "subclass" and "instance" to refer to it. It can't be both, but yet it is.

> Any code you add to this instance can access the protected property.

No it can't! Thats my point. Add code to the click method of the object on the form and you will see that it won't work.

Try
WAIT WINDOW This.myproperty


-Dave
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform