It's very odd. I draw a toolstrip control on a base usercontrol. I change the modifiers from private (yes, you're correct) to protected. I create a new user control and change the inheritance from UserControl to BaseUserControl (or whatever I've called it). I now cannot make any changes to that toolstrip control on the derived usercontrol, i.e., no context menu available and all properties in the properties window are disabled; I do, however, have access to the control via code.
I created a test project outside of my main project just to see if this could be duplicated and it still does it in another project. I'm just at a loss here. Any suggestions? Thanks, Mike. On 8/1/07, Peter Ritchie < [EMAIL PROTECTED]> wrote: > > What are you making protected? The Modifier property of the ToolStrip > control on your UserControl? I assume you mean "protected instead of > private". When UserControls work, I don't have a problem doing that. > > What do you mean by "won't let me make any changes", compile errors or > runtime errors? > > > On Wed, 1 Aug 2007 15:33:11 -0500, Mike Andrews > <[EMAIL PROTECTED]> wrote: > > >Guys, > > > >I've got a UserControl with a toolstrip on it. I changed the control to > >protected instead of public and the derived control still won't let me > make > >any changes. > >Is this intentional behavior? Or have I somehow missed the inheritance > boat > >all these years? > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com > =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com