473,511 Members | 15,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ToolStripDropDownButton

I accidentally deleted the toolstrip which had the
ToolStripDropDownButton. Is there a easy way to get it back. The code
for the toolstrip still exists, its just that I cant see it in the
designer. I was wondering if there was any other way rather than
re-doing the entire thing again..

Thanks in advance for the help.

-Priya

Jan 12 '06 #1
5 3852
Priya,

Unfortunately, no. If you do delete it, you might be able to do a
Ctrl-Z to undo, but if you already made other changes or whatnot (which you
have done by now) or closed VS.NET, then no, you can't.

Why not just add the button again, with the same name, and set the
properties? That's what a designer is for, to make these tasks easy. Your
code which references that name will be all the same and should work.

Hope this helps.

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

"Priya" <pr********@gmail.com> wrote in message
news:11*********************@g49g2000cwa.googlegro ups.com...
I accidentally deleted the toolstrip which had the
ToolStripDropDownButton. Is there a easy way to get it back. The code
for the toolstrip still exists, its just that I cant see it in the
designer. I was wondering if there was any other way rather than
re-doing the entire thing again..

Thanks in advance for the help.

-Priya

Jan 12 '06 #2
HI Nicholas,
Thank you for your response. I tried doing that but then I get a message
saying that name that I am using to name the control already exists :(

Is there a special type of toolstrip control for toolstripdropdownbutton
or should i just use the toolstrip control from the tool box and make
changes for it to be a toolstripdropdownbutton ?

appreciate your help ..also if you have links to do this please let me
know ..

thanks,
Priya
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Jan 12 '06 #3
Priya,

The tool strip drop down button is for ToolStrip instances. They are
part of .NET 2.0, I believe. They are not compatable with the old menu
system.

You might just have to code it from scratch again (at least, the
toolstrip and the drop down).

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

"Priya" <pr********@gmail.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
HI Nicholas,
Thank you for your response. I tried doing that but then I get a message
saying that name that I am using to name the control already exists :(

Is there a special type of toolstrip control for toolstripdropdownbutton
or should i just use the toolstrip control from the tool box and make
changes for it to be a toolstripdropdownbutton ?

appreciate your help ..also if you have links to do this please let me
know ..

thanks,
Priya
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Jan 12 '06 #4
Do u have links to samples ? I can google and find out as well . i was
just being a bit lazy :)

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Jan 12 '06 #5
Priya,

I don't have any samples, sorry, but the documentation for the controls
should have some.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Priya" <pr********@gmail.com> wrote in message
news:OH**************@TK2MSFTNGP10.phx.gbl...
Do u have links to samples ? I can google and find out as well . i was
just being a bit lazy :)

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Jan 12 '06 #6

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

Similar topics

1
3047
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,...
1
1839
by: Adam Honek | last post by:
Hi, I have a toolstrip on a form. One of the parts that comprise this toolstrip is a ToolStripDropDownButton I'm trying to catch these events but somehow it's not working how. I'm using the...
4
9155
by: Adam Honek | last post by:
I have a ToolStrip. The ToolStrip has a ToolStripDropDownButton with 3 ToolStripMenuItems My question is how do I catch the click event ot these 3 ToolStripMenuItems? I tried the below but...
5
3452
by: Ben R. | last post by:
Hi, I have a ToolStripDropDownButton and would like to databind a list of menuitems for its associated ToolStripDropDown object. Is this possible? The ToolStripDropDown class doesn't have a...
1
1694
by: Alan T | last post by:
private void MainForm_Load(object sender, EventArgs e) { tsHelpDropDownButton.MouseLeave += new EventHandler(this.MenuDropDownButton_MouseLeave); } private void...
2
7055
by: andylotus | last post by:
Hi People I have a WinForm program. The UI contains a ToolStripDropdownButton, which is associate a list of menu items of ToolStripMenuItem, created dynamically. Upon different scenarios of user...
3
8576
by: =?Utf-8?B?bGpsZXZlbmQy?= | last post by:
I need to show a custom control in the DropDown of a Windows.Forms.ToolStripMenuItem (e.g., similar to the Font Color menu item in Word except that the control is specific to my application). I...
2
2207
SammyB
by: SammyB | last post by:
I have a ToolStrip control on a windows app that contains a ToolStripDropDownButton. When the button is pressed, I would like the menu to display just icons for each choice with no text. If I...
1
3093
pbala
by: pbala | last post by:
hi, I created one ToolStripDropDownButton in vb.net. I will like to put methods for every drop down items and as well as the Button Menu.... how it possible
0
7432
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...
1
7093
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...
0
5676
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,...
1
5077
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...
0
4743
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...
0
3230
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...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
452
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.