470,874 Members | 1,554 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,874 developers. It's quick & easy.

inherite toolstrip problem

I add a toolstrip control on a windows form, set it's modifiers as
protected.
Then I add another form which inherited from the first one.
But the property of the toolstrip on the second form is readonly.
Why?
May 30 '06 #1
1 1736
Hi,

Thank you for posting.

Form designer doesn't allow to modify properties of all new for .Net
Framework 2.0 controls(ToolStrip, MenuStrip, ContextMenuStrip, StatusStrip,
TableLayoutPanel, FlowLayoutPanel, DataGridView, BindingNavigator)
belonging to inherited form even if the value of access modifier on
parental form has been established to public or protected. Nevertheless all
these properties can be modified in the program code of inherited form.

This is a known design time limitation in Visual Studio 2005 release.
Microsoft will look at improving this in future versions. Although you
couldn't modify the toolstrip in the property window in the inherited form,
you could access the toolstrip in code.

Sincerely,
Linda Liu
Microsoft Online Community Support

================================================== ==
When responding to posts,please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
================================================== ==

May 30 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by GatorBait | last post: by
reply views Thread by gene kelley | last post: by
reply views Thread by Javier Ros | last post: by
reply views Thread by Kalpana Naraboina | last post: by
reply views Thread by =?Utf-8?B?Q2hyaXMgV2Fsa2Vy?= | last post: by
reply views Thread by Martijn Mulder | last post: by
6 posts views Thread by Mike | last post: by
1 post views Thread by Tom P. | last post: by
1 post views Thread by priyamtheone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.