Home All Groups Group Topic Archive Search About

Windows form designer default scope for controls.

Author
8 Jul 2006 8:13 PM
Terry
I am building a number of 'base' forms which will be inherited in my
application.  I would like to change the default scope from Friend to
'Protected Friend'.  Is there a way to do this, or will I just have to edit
the Designer.vb file or change the 'Modifiers' property for each of the
controls?

TIA,
--
Terry

Author
8 Jul 2006 11:48 PM
Herfried K. Wagner [MVP]
"Terry" <Terry@nospam.nospam> schrieb:
>I am building a number of 'base' forms which will be inherited in my
> application.  I would like to change the default scope from Friend to
> 'Protected Friend'.  Is there a way to do this, or will I just have to
> edit
> the Designer.vb file or change the 'Modifiers' property for each of the
> controls?

Select the controls in the designer and set their 'Modifiers' property to
the desired value.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>
Author
9 Jul 2006 12:01 AM
Terry
Hi Herfried,
   Thanks for the response.  Too bad.  It would be nice to be able to set
some sort of option to change the designer's default scope to something other
then 'Friend'.
--
Terry


Show quoteHide quote
"Herfried K. Wagner [MVP]" wrote:

> "Terry" <Terry@nospam.nospam> schrieb:
> >I am building a number of 'base' forms which will be inherited in my
> > application.  I would like to change the default scope from Friend to
> > 'Protected Friend'.  Is there a way to do this, or will I just have to
> > edit
> > the Designer.vb file or change the 'Modifiers' property for each of the
> > controls?
>
> Select the controls in the designer and set their 'Modifiers' property to
> the desired value.
>
> --
>  M S   Herfried K. Wagner
> M V P  <URL:http://dotnet.mvps.org/>
>  V B   <URL:http://classicvb.org/petition/>
>
>