Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden /Proctected properties
Message
From
04/12/1998 10:15:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Hidden /Proctected properties
Miscellaneous
Thread ID:
00164076
Message ID:
00164076
Views:
74
Up until now I have not made it a practice to to make custom properties of my classes either hidden or protected. Never had a need to, and I don't really yet, but a couple of my classes are getting really heavy with properties and methods in the property sheet, and I am finding that most of these props and methods are only for internal use.

So I went to the class definition and set a few of them to hidden. now when I run them, it crashes with "property 'myproperty' is not found.

I meant hidden from subclasses and instances, not from itself! The code that crashes is in the same class definition that defines the hidden properties.

Come to think of it, I think I tried this long ago with the same results and decided it wasn't worth the trouble. What am I missing here?
Erik Moore
Clientelligence
Next
Reply
Map
View

Click here to load this message in the networking platform