473,548 Members | 2,691 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Menu/Tool Strips

I'm having difficulty with inheriting a form that has a menu on it. Is this
not possible with a Menu Strip? It comes up locked and will not change in
the descendant.

Also,
I'm trying to use a PropertyExtende r with a Menu Strip as well. How do you
get the property to be on the menu items as opposed to the Menu Strip itself?

- Roger
Nov 17 '05 #1
4 1924
Roger,

Are the toolstrips declared as private or protected? In order for a
derived form to make changes, you have to declare the variables as protected
(if they are private, then descendants can't see the member).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Tx Whytboy" <Tx*******@disc ussions.microso ft.com> wrote in message
news:BF******** *************** ***********@mic rosoft.com...
I'm having difficulty with inheriting a form that has a menu on it. Is
this
not possible with a Menu Strip? It comes up locked and will not change in
the descendant.

Also,
I'm trying to use a PropertyExtende r with a Menu Strip as well. How do
you
get the property to be on the menu items as opposed to the Menu Strip
itself?

- Roger

Nov 17 '05 #2
Roger,

Are the toolstrips declared as private or protected? In order for a
derived form to make changes, you have to declare the variables as protected
(if they are private, then descendants can't see the member).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Tx Whytboy" <Tx*******@disc ussions.microso ft.com> wrote in message
news:BF******** *************** ***********@mic rosoft.com...
I'm having difficulty with inheriting a form that has a menu on it. Is
this
not possible with a Menu Strip? It comes up locked and will not change in
the descendant.

Also,
I'm trying to use a PropertyExtende r with a Menu Strip as well. How do
you
get the property to be on the menu items as opposed to the Menu Strip
itself?

- Roger

Nov 17 '05 #3


"Nicholas Paldino [.NET/C# MVP]" wrote:

Thanks..this answered the first half of the post. I will create a new
thread for the other question.

- Roger

Roger,

Are the toolstrips declared as private or protected? In order for a
derived form to make changes, you have to declare the variables as protected
(if they are private, then descendants can't see the member).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Tx Whytboy" <Tx*******@disc ussions.microso ft.com> wrote in message
news:BF******** *************** ***********@mic rosoft.com...
I'm having difficulty with inheriting a form that has a menu on it. Is
this
not possible with a Menu Strip? It comes up locked and will not change in
the descendant.

Also,
I'm trying to use a PropertyExtende r with a Menu Strip as well. How do
you
get the property to be on the menu items as opposed to the Menu Strip
itself?

- Roger


Nov 17 '05 #4


"Nicholas Paldino [.NET/C# MVP]" wrote:

Thanks..this answered the first half of the post. I will create a new
thread for the other question.

- Roger

Roger,

Are the toolstrips declared as private or protected? In order for a
derived form to make changes, you have to declare the variables as protected
(if they are private, then descendants can't see the member).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Tx Whytboy" <Tx*******@disc ussions.microso ft.com> wrote in message
news:BF******** *************** ***********@mic rosoft.com...
I'm having difficulty with inheriting a form that has a menu on it. Is
this
not possible with a Menu Strip? It comes up locked and will not change in
the descendant.

Also,
I'm trying to use a PropertyExtende r with a Menu Strip as well. How do
you
get the property to be on the menu items as opposed to the Menu Strip
itself?

- Roger


Nov 17 '05 #5

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

Similar topics

7
6880
by: cefrancke | last post by:
I cant seem to find a straight answer on the following. I want to programmatically hide all menus except a basic custom report menu (during report preview) and right click pop-up A-Z sorting on datasheets (for subforms). I would like to do this on startup of the application. To be clear:
5
5313
by: Nothing | last post by:
Is there a way to turn off the defult menu bar? I do not want the user to see the File, Edit, View, etc. menu. How do you turn it off? Michael Charney *** Sent via Developersdex http://www.developersdex.com ***
0
309
by: Tx Whytboy | last post by:
I'm having difficulty with inheriting a form that has a menu on it. Is this not possible with a Menu Strip? It comes up locked and will not change in the descendant. Also, I'm trying to use a PropertyExtender with a Menu Strip as well. How do you get the property to be on the menu items as opposed to the Menu Strip itself? - Roger
1
1184
by: JC Voon | last post by:
Hi: My base form has a menu bar and tool bar, the menu bar have File | Open, Close, Exit Menu Item and the tool bar has a exit button. Problem 1: I inherite a child form from this base form, and add additional menu item and tool bar button, i re-arange the toolbar button so that the exit button sit on last position, every thing look...
8
2542
by: mjf | last post by:
I need to come up with a tool to compare the table definition and/or its data before and after some modification to the DDL or some tests (that change the data). Does DB2 come with such a tool, or do I need to write my own? Thanks.
2
2185
by: active | last post by:
I need to force a MDI parent to refresh its menu because the child has changed its menu. Any suggestions on how to do that? thanks PS Sorry, I first posted this to windowsxp.general by mistake
1
1152
by: tc | last post by:
I have an app with a main form. On this form I have a tab page, 4 tabs. All this is fine. On tab one I have a couple of grids and buttons etc, and a tool strip at the top of the tab section. This is fine. On tab two I have anothe grid, some more buttons, and another tool strip, again at the top of the tab section. But, this tool strip...
0
1105
by: Academia | last post by:
Here's the scenario: A form contains two user controls. Each user control has its own context menu and the form has a main menu. I use the older menu controls and each user control has a property that passes a reference to its context menu to the form which mergers them to its main menu. So the result is that each user control shows its...
2
3577
by: Academia | last post by:
I've been searing the Internet and get many many hits but never the answer to what I'm looking for. I want the same menu items (File, Edit, Preferences) and their sub-items (Open, Save; Cut, Paste...) to appear on the MainMenuStrip and the ContextMenuStrip . 1) Is that possible with out maintaining the items on both strips? 2)If so I...
5
1602
by: AG | last post by:
I realize that the obvious suggestion would be malware, but my definitions are up to date and I have already scanned for it. I have also tried disabling all IE add-ons. I just rebuilt and deployed my website (WAP) in ASP.NET 2.0. Everything is working fine except from my development machine with IE6. The master page contains a Menu control...
0
7518
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...
0
7444
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...
0
7711
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. ...
0
7954
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...
0
7805
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...
0
6039
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...
0
3497
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1932
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
1
1054
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.