473,385 Members | 2,269 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,385 software developers and data experts.

Dragging ToolStrips to Parent Form

Hello,

I'm working with VS 2005 and I have an MDI form with ToolStrip Panels on
each side. Some of the child forms also have ToolStrip Panels on each side.
I noticed that you can drag ToolStrips from the child to the parent, and if
you close the child form, the child's ToolStrip remains on the parent (but it
can no longer access anything on the child form because it has been disposed).

And conversely, you can drag the parent's toolstrip onto a child, close the
child, and the toolstrip will never be seen again for that instance of the
application.

How do I keep a ToolStrip on the form it belongs to?

Thank you,
Mark Lauser
Mar 13 '06 #1
0 1149

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

Similar topics

2
by: Jonathan | last post by:
I have a form that has controls on it that can be dragged to other locations within the form. The form size is larger than the viewable area so the scroll bars are visible (and autoscroll is...
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...
3
by: guy | last post by:
If i have an MDI form, with tollstrips such as Menu, ToolBar or Status how do i stop a child form sliding under these toolstrips? eg when dragged or maximized. *guy*
0
by: Mark Lauser | last post by:
I'm re-posting under an updated subscriber ID so Microsoft techs will answer... Hello, I'm working with VS 2005 and I have an MDI form with ToolStrip Panels on each side. Some of the child...
1
by: Rudderius | last post by:
Hey, I'm working on a winform app in VS 2005. I'm wondering if someone knows some best practices on how to organize the toolstrips. I have a menuToolStrip and some other toolstrips. As in many...
0
by: =?Utf-8?B?Tm9yZGluZSBCZW5iYWNoaXI=?= | last post by:
Hi, I have 2 toolstrips on a form, and one of them has a textbox on it. It is not possible to enter the character "]" in the textbox (on a Norwegian keyboard the character "]" is accessed via...
1
by: Mike | last post by:
I am using CFormView and CWinFormsControl in C++ to show a C# control. The control includes a toolstrip container and various toolstrips. If all the toolstrips are hidden (visible = false) on any...
4
by: spectecjr | last post by:
Hey folks; I've got a weird problem... whenever I try to drag and drop a toolbox item onto a form in the Window Forms editor, the control is automatically added on the first click. This gives...
6
by: Bob Johnson | last post by:
How can I programmatically determine when a MDI child form has been dragged from one location to another within its MDI parent form? Ideally I'd like to trap some event that occurs when the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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,...

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.