all groups > c# > december 2007 >
You're in the

c#

group:

ToolBar.Buttons is Read-Only in property sheet in VS 2005 in inherited control


Re: ToolBar.Buttons is Read-Only in property sheet in VS 2005 in inherited control Nicholas Paldino [.NET/C# MVP]
12/31/2007 12:35:49 PM
c#:
Ryan,

Have you changed the visibility of the control on the base class?
Perhaps from protected/internal to private?


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

[quoted text, click to view]

ToolBar.Buttons is Read-Only in property sheet in VS 2005 in inherited control Ryan Liu
12/31/2007 10:30:34 PM
I have a control with a toolbar on it, and I have another control inherits
it, and in this sub-control, I add more toobar buttons to it.

It used to work fine in VS 2003. But in VS 2005, in property sheet, it
shows: read only.

Is this a bug or desiged so in VS 2005?

Thanks and Happy new year!


~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Ryan Liu
Shanghai Fengpu Software Co. Ltd
Shanghai , China

http://www.PowerCATI.com Powerful CATI!
http://www.fpsoft.net.cn
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.
Re: ToolBar.Buttons is Read-Only in property sheet in VS 2005 in inherited control Ryan Liu
1/1/2008 1:46:57 AM

"Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard.caspershouse.com> дÈëÏûÏ¢
news:eJd0wL9SIHA.5208@TK2MSFTNGP04.phx.gbl...
[quoted text, click to view]

Nicholas ,
I checked, it is still protected. This subcontrol used to work, I just want
to add 2 more toobarButtons to it after I added a dozen last time in VS
2003.

Thanks,


[quoted text, click to view]
AddThis Social Bookmark Button