Thanks, doesn't seem to do what I need. Also, when I set properties
on the Base control such as BackColor, the inherited controls default
to the UserControl default backcolor, not the color I set on the base
control.
On Sep 27, 1:06 pm, "Cor Ligthert[MVP]" <notmyfirstn...@planet.nl>
wrote:
Charlie,
Have a look if shadowing fits you.
http://msdn2.microsoft.com/en-us/lib...24(VS.80).aspx
Cor
"Charlie Brown" <cbr...@duclaw.comschreef in berichtnews:11**********************@22g2000hsm.go oglegroups.com...
I have two classes, one that inherits from UserControl called Base. I
have a second class that inherits from Base. I do not want to expose
a lot of the properties of usercontrol beyond the Base control. For
example, lets say I want every control that inherits from Base to have
a RED background and not be able to change it. Currently,
backgroundcolor is available in the designer as a color choice. Can I
change the scope of something to disable that?
thanks- Hide quoted text -
- Show quoted text -