Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hidden properties and Intellisense
Message
De
01/11/2006 11:00:05
 
 
À
01/11/2006 08:01:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01165956
Message ID:
01166180
Vues:
22
>Hi Greg.
>
>>Does anyone know hoe to hide the hidden properties and methods from intellisense. In a custom class I am working on, I have defined most of the properties and methods as Hidden. I was hoping that when intellisense displays the PEM that I would only see those not hidden. But they do appear. If they suppose to be hidden why do I see them in Intellisense and the property window?
>

Thanks Doug,

>Hidden doesn't mean they're completely hidden; it means they aren't available to subclasses. Sort of like Protected, but taken a step further.
>

This much I knew. I guess my understanding of the difference between Protected and Hidden are different then how FoxPro defines them in the help. For example, if a PEM is declared hidden in a parent class, then in the child class they should not be visible. But if the same PEM is declared Protected in the parent, then it is readonly in the child.

>That being said, you can have more control over what IntelliSense displays. I wrote an article in the August 2005 issue of FoxTalk called Favorites for IntelliSense that allows you to display only the PEMs you want to see.
>
>Doug

I will check out your article.
Greg Reichert
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform