Gerard,
Be careful you are accessing properties of the form from methods of the form. Methods of controls on the form won't be able to see protected properties.
Other than that, your understanding of the differences gels with mine.
Cheers,
Andrew
>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
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.