Inherited Toolstrips cannot be Designed  
Author Message
fnaddaf





PostPosted: Windows Forms Designer, Inherited Toolstrips cannot be Designed Top

When I have a base control with a public or protected Toolstrip, and then inherit from the base control, the Toolstrip acts as if it is locked within the designer. Also none of the properties are accessible from the designer and I cannot use

If I manipulate the Toolstrip via code, it is public.

I have VS.NET 2005 RTM release installed and I tried this but it didn't work


Windows Forms12  
 
 
JohannHough





PostPosted: Windows Forms Designer, Inherited Toolstrips cannot be Designed Top

I have the exact same problem... have I missed anything

It makes no difference whether the member is marked as protected/public or not.

Thanks


 
 
Martin Thorsen - MSFT





PostPosted: Windows Forms Designer, Inherited Toolstrips cannot be Designed Top

Hi,

We intentionally decided to make ToolStrips read only on inherited forms to avoid potential problems due to visual inheritance. An inherited form does not know the properties of collections of its base form. Therefore if the collections are changed in the inherited form, potential repetition of data, and other problems occur. For this reason collections such as ToolStrip Items are read only.



 
 
hieronymus





PostPosted: Windows Forms Designer, Inherited Toolstrips cannot be Designed Top

hi,

I have the exact same problem. have you found a solution


 
 
Michael Miller





PostPosted: Windows Forms Designer, Inherited Toolstrips cannot be Designed Top

if inherited toolStrips are read only in the designer - why is the BindingNavigator control editable Are MS controls different then the custom controls users can create that inherit from the ToolStrip class
 
 
Gunter A.





PostPosted: Windows Forms Designer, Inherited Toolstrips cannot be Designed Top

i have the same problem
have you found a solution