Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a class property hidden.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00560919
Message ID:
00561473
Vues:
24
Tricky ;) Thanks for the idea.

>A kind of dodgy way around it would be to create an olepublic object with all the properties that you have hidden then have in your code something like this
>
>
LOCAL MyObject AS MyCom.MyClass
>
>MyObject = CREATEOBJECT("MyOtherClass")
>
>Then MyObject would have the IS without all the PEMS that you don't want to see. One fairly big problem with this would be that you would have to keep the com object up to date with any changes made to MyOtherClass.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform