473,811 Members | 3,256 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1382
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.co m

"Ryan Liu" <rl**@PowerCATI .comwrote in message
news:O$******** ******@TK2MSFTN GP04.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.c omдÈëÏûÏ¢
news:eJ******** ******@TK2MSFTN GP04.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.co m

"Ryan Liu" <rl**@PowerCATI .comwrote in message
news:O$******** ******@TK2MSFTN GP04.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
3541
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 Toolbar and the Imagelist I had to use a tricky method with API calls that is described like this by a MS MVP : 1) Use v6 of the common controls (have a manifest) 2) Load the PNG using GDI+
3
1314
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
2925
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
3246
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 two possible scenarios here, the first one works properly, while the 2nd one doesn't. Scenario 1 ----------
9
1801
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 image. The images were still invisible. What is the trick? I asked this question a while ago. Thanks.
2
1385
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 overcome this prob­lem? Thanks guys
3
2196
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 user clicking it. How do you add this code dynamically? Byron...
0
968
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 after XP style these buttons have been shifted somewhat bottom of the toolbar. means they r not fitting as previous toolbar buttons. Usaually toolabr button top edge is start from the top of the toolbar
3
1593
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 icon changes to "+" then to "I" when it's on the toolbar just like it's supposed to. When I let off the mouse button, though, it's not there. The integration of VSS into VB works fine, I just can't add the buttons to the toolbar. Any...
6
3907
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 we have a standard toolbar that is at the top of the form window. It contains about 8 buttons that use images from an imagelist. Sometimes we hide buttons thru the code. When a button is hidden, i assumed that it wasn't clickable. It appears
0
9731
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10651
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10136
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5697
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.