Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG ?: Hidden properties on subclass has code limit.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00778289
Message ID:
00778618
Views:
17
>I expected HIDDEN defined on subClass
>is ignored by Parent Class ( SuperClass ).
>
>Example:
>
>Class.Property PUBLIC : Class can uses Property
>SubClass.Property PROTECTED : Class,SubClass can uses Property
>SubSubClass.Property HIDDEN : Class,SubClass,SubSubClass can uses Property
>SubSubSubClass.Property not exists : Class,SubClass,SubSubClass can uses Property, SubSubSubClass no.
>
>How I can write code in a class if subclass can hide me properties or methods ?

Maybe by using PROTECTED instead of HIDDEN, since HIDDEN is documented as: "Include HIDDEN and a list of property names to prevent access and changes to the properties from outside of the class definition. Only methods and events within the class definition can access the hidden properties."
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Reply
Map
View

Click here to load this message in the networking platform