General information
Category:
Object Oriented Programming
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only