>My understanding of these are as follows:
>Public.....can be accessed by the class, its subclasess and externally
>Protected..can be accessed by the class and its subclasses
>Hidden ....can only be accessed by the class
>
>However, I set up a form with a few properties,and I could not access these in a subclass of the class when I had the properties Proected..I had to make them public to work.
>
>I'm wondering whi is this so.?
>
>regards,
>Gerard
Public - published to and accessible by the outside world. Public PEMs can be called as long as you have an object reference to the object.
Protected - not published to or accessible by the outside world. The PEM is only accessible by the class (and subclasses) itself. You have to write wrapper methods to gain access to these PEMs.
Hidden - not published to or accessible by the outside world; and not published to or accessible by subclasses of the original class. Only accessible using wrapper methods in the original class itself.
That's how I understand it.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao