473,378 Members | 1,622 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,378 software developers and data experts.

ToolStripContainer

I accidentally drop this control onto my form, how do I delete that ?
Jul 6 '06 #1
2 9280
Alan,
>I accidentally drop this control onto my form, how do I delete that ?
It's a bit tricky to delete a ToolStripContainer, that's for sure. This is
because clicking it normally will not select the whole control but instead
just a part of it.

Here's what you can do, assuming your ToolStripContainer is empty:

1. Right-click the blue area, point to Select and then to the name of your
control (ToolStripContainer1). Then press Delete.

2. Click the blue area, and then click the small "collapse arrow" that
points upward (it requires patience to point your mouse at the correct
location). This will select the control, so just delete normally afterwards.

Finally, you could navigate to your form's designer managed code file and
delete the code that creates the control. However, this is usually not the
recommended approach.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Jul 6 '06 #2
Thanks.
It works.

"Jani Järvinen [MVP]" <ja***@removethis.dystopia.fiwrote in message
news:uz**************@TK2MSFTNGP04.phx.gbl...
Alan,
>>I accidentally drop this control onto my form, how do I delete that ?

It's a bit tricky to delete a ToolStripContainer, that's for sure. This is
because clicking it normally will not select the whole control but instead
just a part of it.

Here's what you can do, assuming your ToolStripContainer is empty:

1. Right-click the blue area, point to Select and then to the name of your
control (ToolStripContainer1). Then press Delete.

2. Click the blue area, and then click the small "collapse arrow" that
points upward (it requires patience to point your mouse at the correct
location). This will select the control, so just delete normally
afterwards.

Finally, you could navigate to your form's designer managed code file and
delete the code that creates the control. However, this is usually not the
recommended approach.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/


Jul 6 '06 #3

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

Similar topics

0
by: Alexander Bolotnov | last post by:
Hello all, is there a way to dock a toolStripContainer into a Form and make it resize the Form when the control that is added to the ContentPanel is larger then then ContentPanel? In case...
1
by: Joe | last post by:
I have a few ToolStripContains and ToolStrips in my app and only want certain ToolStrips to be able to be dropped on certain ToolStripContainers. Is there anyway to do this? I tried the DragEnter...
0
by: PiotrKolodziej | last post by:
Hi. I have crated treewiev with 3 nodes. Each of them has to be assigned to 3 different panels. How to force Form to change them. I used Visible property but it's not working ( only one panel is...
0
by: Gary Brown | last post by:
Hi, I am redoing some existing C# code to take advantage of new ..NET 2005 controls. It was originally written for .NET 2003. The ToolStripContainer is a puzzlement I can't move an existing...
0
by: Neeraj | last post by:
Hi I want to know that how to auto hide ToolStripContainer on Mouse over. or is there any better tools available in .net which will auto hide on mouse over ,something similar to Visual studio...
2
by: jcvoon | last post by:
Hi: I'm using VS2005, I've create a winform with the following controls: Add a ToolStripContainer Set it to dock to the form (Fill) Click in the top section. Add a menu strip Add a tool...
4
by: BradFuller | last post by:
I am trying to build a program in VS 2005 with C#, but I have ran into a problem I have yet to find a solution to and I know it is probably something simple. I have a tabcontrol container and inside...
2
nev
by: nev | last post by:
I use mdi app and place a toolstripcontainer dock=fill. But when I try to open its the childform, it cannot be seen. I guess its under the toolstripcontainer. How to do this?
0
by: R.A.F. | last post by:
Hi, I have a ToolStripContainer in my SDI application. on the ContainerPanel(in center) i would like to display several forms. for that user can select in the menu some forms to display....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?

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.