Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making a class property hidden.
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00560919
Message ID:
00561473
Views:
23
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!
Previous
Reply
Map
View

Click here to load this message in the networking platform