Terry,
In order to make a private variable (or fields as they are also called) into a public property, do the following:
public Button MyButton
{
get {return this.mybutton;}
set {this.mybutton = value;}
{
~~Bonnie
>Morgan,
>
>Sorry maybe I did not make myself clear. The steps to recreate what I’m talking about are:
>
>1. Add a windows form to a project.
>2. Add one or more command buttons, or any other controls, to the form.
>3. Save the form and rebuild the project.
>4. Now add a form inheriting from the first form.
>5. In the inherited form the command button(s) properties cannot be changed in the properties page.
>
>If the controls are private when added to form one, how can they be set to public in the first form so their properties can be changed in the properties page?
>
>
>Regards
>
>
>Terry Carroll