Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden /Proctected properties
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00164076
Message ID:
00164077
Views:
22
>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?

Seems to me I remember a problem with 5.0 and hidden. I could never get them to work. I was just playing around and did not really have a need for them to be. I think they fixed that in 6.

Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform