Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Protected property is italics
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00608655
Message ID:
00609175
Views:
24
>When you drop your class on the form you are in effect creating a subclass and you can override PEMs. Any code you add to this instance ...

Notice how you used both "subclass" and "instance" to refer to it. It can't be both, but yet it is.

> Any code you add to this instance can access the protected property.

No it can't! Thats my point. Add code to the click method of the object on the form and you will see that it won't work.

Try
WAIT WINDOW This.myproperty


-Dave
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform