473,671 Members | 2,251 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1912
Hi,

Thank you for posting.

Form designer doesn't allow to modify properties of all new for .Net
Framework 2.0 controls(ToolSt rip, MenuStrip, ContextMenuStri p, StatusStrip,
TableLayoutPane l, FlowLayoutPanel , DataGridView, BindingNavigato r)
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3056
by: GatorBait | last post by:
Hi all, I'm using the new ToolStrip control in a project and I'm running into a problem that I'm hoping someone can help me with. I am building the toolstrip in code by adding buttons, seperators, and dropdown buttons (which have MenuItems added to it). The ToolStrip gets built perfectly, but the problem I am having is accessing the click event of the dropdown button's menuitems. I hope someone can help!!! Thank you so much in...
0
1748
by: gene kelley | last post by:
I'm migrating/rewriting one of my VB6 apps to VB2005. In the process, I'm trying to avoid using third party activex controls used in the VB6 project. One of the third party controls in the VB6 app was for menu/toolbars. This control had an option to render the toolbar in an Office 2003 style which is nothing more than a top to bottom gradient. When a new ToolStrip is added to a form, the default appearance of the Toolstrip is that of...
0
1400
by: Javier Ros | last post by:
Hi, I´m using visual inheritance in WinForms and I have a problem with ToolStrip control. I have a Form called WndBase thah Inherit from Form. I have insert a ToolStrip in WndBase and I have set Modifiers to protected in my ToolStrip. Ok, when I create a From that Inherit from WndBase I can see the ToolStrip component, but I can´t change the properties then I can insert new buttons.
0
2552
by: Kalpana Naraboina | last post by:
Hi Toolstrips in a toolstrip panel are aligned in a stack even though added to a first row in a toolstrip panel. i.e. the blocks in the toolstrip should be aligned sequentially in a single row and if the row is overloaded then it should wrap to the next line but iam unable to do so --if i have 4 blocks in the toolstrip it is being arranged one block for each row which should not happened --all
0
1173
by: =?Utf-8?B?Q2hyaXMgV2Fsa2Vy?= | last post by:
PropertyBinding can be a great way to save user settings, but there is a problem with using PropertyBinding on ToolStrip items. I've found a solution to the problem and am sharing it here since I couldn't find a solution anywhere on the web. To recreate the problem: Add a ToolStrip to a form. Add a TextBox to the ToolStrip. PropertyBind the Text property of the TextBox (to do this, view the properties of the TextBox, go to...
0
2621
by: Martijn Mulder | last post by:
The ToolStrip on top of my form is to small. I want to increase its height. Simply setting the Height-property doesn't change the height, though. So I tried to place the ToolStrip in a ToolStripPanel, that does react to changes in its Height-property, and by setting the Dock-property of the contained ToolStrip to DockStyle.Fill, I expected the ToolStrip to fill the entire ToolStripPanel. Nope. See the code below, it is ready to run.
6
2802
by: Mike | last post by:
I have a program that is crashing on some machines (at a client of ours). I have determined that it goes down on this line of code: ToolStrip x = new ToolStrip(); I created a simple test app that only performs this one line of code. It throws an exception so I know the problem is not caused by something in my code. It seems like there is a problem with .NET. We have tried uninstalling and reinstalling .NET 2, but it doesn't help.
1
4023
by: Tom P. | last post by:
It's kind of hard to explain (so if you need more just ask) and any help would be greatly appreciated. I am writing a side-by-side file manager. On each side I have a DropDownButton that holds either the root name or the Favorite name for the current path. I also have a DropDownComboBox that has the current full path as well as a series of paths that lead back to the root (i.e. "C;\Program Files\Microsoft Office", "C:\Program Files", "C:...
1
2978
by: priyamtheone | last post by:
In C# 2005 (.Net 2.0), while working with a toolstrip, if its TabStop property is set to TRUE and there are two comboboxes and a button in the toolstrip, why doesn't the button get any focus when the focus is moved from one control to another by pressing the TAB Key. This problem doesn't occur when the TabStop property of the toolstrip is FALSE. But I need the TabStop property to be TRUE. Another problem is while the TabStop property of...
0
8476
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
8393
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,...
1
8598
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8670
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
7437
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
6229
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
4407
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2812
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2051
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.