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:
00561271
Views:
27
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.



>Bummer. It sure would be nice if they didn't show. Makes it hard to create a business object that only shows it's properties and not all the base class props that are meaningless and unused in that context.
>
>AFA VS, I did a test in VB and a protected prop doesn't show in IS, or am I missing something.
A fish this fine deserves to be a fish nugget styled chunklet.
- Fry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform