Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Public/Protected /Hidden
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00398708
Message ID:
00398709
Vues:
19
Gerard,

Be careful you are accessing properties of the form from methods of the form. Methods of controls on the form won't be able to see protected properties.

Other than that, your understanding of the differences gels with mine.

Cheers,

Andrew




>My understanding of these are as follows:
>Public.....can be accessed by the class, its subclasess and externally
>Protected..can be accessed by the class and its subclasses
>Hidden ....can only be accessed by the class
>
>However, I set up a form with a few properties,and I could not access these in a subclass of the class when I had the properties Proected..I had to make them public to work.
>
>I'm wondering whi is this so.?
>
>regards,
>Gerard


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform