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:
00609932
Views:
24
David,

If you want to adhere to "good O-O theory", then you'll have to explicitly subclass the class, add all the code you are wanting to use to extend the class to the subclass and then drop an instance of subclass on your form and never add any code to it in the form.

>I try to use protected properties whenever possible because I feel that making the visibility as restricted as possible is good OOP design. I haven't used hidden properties in the past.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform