473,396 Members | 2,085 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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

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
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Dec 31 '07 #1
2 1365
Ryan,

Have you changed the visibility of the control on the base class?
Perhaps from protected/internal to private?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ryan Liu" <rl**@PowerCATI.comwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl...
>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
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Dec 31 '07 #2

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comдÈëÏûÏ¢
news:eJ**************@TK2MSFTNGP04.phx.gbl...
Ryan,

Have you changed the visibility of the control on the base class?
Perhaps from protected/internal to private?
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,

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

"Ryan Liu" <rl**@PowerCATI.comwrote in message
news:O$**************@TK2MSFTNGP04.phx.gbl...
>>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
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.

Dec 31 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Philippe Meunier | last post by:
Hi, I am using the .NET toolbar with VB.NET 2003. My toolbar uses icons images that are actually PNG files and uses alpha blending on it. So to make alpha blending work correctly with the...
3
by: Mario | last post by:
i've removed toolbar from my page and created my own buttons what is the javascript for each of this buttons i'm using IE back forward stop refresh home (or set as home)
11
by: N. Graves | last post by:
I have checked the "Alignment and Sizing" toolbar but when I want to use in on aligning several form object the toolbar buttons stay grayed out. What am I missing. Thanks! N. Graves
5
by: anthony.duerr | last post by:
I have encountered a problem (most certainly a .NET bug), that, for the life of me, I cannot figure out how to work around. Using Visual Studio 2003, with enabled XP Visual Styles. There are...
9
by: Hugh | last post by:
after I changed the image size. I tried different combinations of images sizes and button sizes. I have tried both botton and the image in the same sizes or button size was larger than that of...
2
by: Ahmed | last post by:
Hello All, I noticed that the toolbar buttons have the same size. I can­ not have different buttons' size into one toolbar. is that correct or­ am I missing something here? is there a way to...
3
by: Byron Hopp | last post by:
Anybody have code to add a ToolBar, and its buttons to a MDI Child window. I have added the Toolbar, and added the buttons, but how do you determine what the button is going to execute upon the...
0
by: harishdixit1 | last post by:
Hello friends I m creating an ATL DLL which will attached a toolbar in IE. I implemented XP style & it is working fine means controls now have XP Style. On my toolbar i have Button menus. But...
3
by: acemery | last post by:
I'm running VB5 (SP3) and I want to add the "Check Out", "Check In" and "Undo Checkout" buttons to the standard toolbar. While dragging one of them from the "Customize" dialog to the toolbar, the...
6
by: =?Utf-8?B?L2Rldi9udWxs?= | last post by:
Hello, i am using visual studio 2003 enterprise architect version. I am making apps for the .Net framework 1.1. While testing an interface, i discovered something strange. In this application...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.