Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HIDDEN property
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00429150
Message ID:
00429174
Views:
16
>>HI,
>> What is the usage of HIDDEN property since it can not be accessed by any object even it subclass?
>>
>>Thank you

>A hidden property is used in that class only.
>you can use it for example to store internal data to.
>The subclassed classes don't need that data so it can be hidden.

A example for this:
If you want to have a grid class with a RowChange function you can code that in your grid.
for that functionality you need to store the actual row in a property of that grid.
if the new value differs from the one in the property you call the home made RowChange method.
Now the subclassed classes haven't anything to do with that property.
Previous
Reply
Map
View

Click here to load this message in the networking platform