473,508 Members | 2,091 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to keep statusStrip at the bottom of the ToolStripContainer

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 strip.
Add another tool strip.
Click in the bottom section.
Add a StatusStrip.

At runtime when i drag a tool strip from topToolStripPanel and drop it
into bottomToolstripPanel the toolStrip may dock to the bottom, i want
to avoid this, i want the StatusStrip always at the bottom, is there
any property for the StatusStrip so that it is always dock to the
bottom of the form ? the StatusStrip.Dock property seem doesn't work.

Please help
Thanks
JCvoon

Sep 22 '06 #1
2 4501
On 22 Sep 2006 01:06:13 -0700, "jcvoon" <jc****@maximas.com.mywrote:
>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 strip.
Add another tool strip.
Click in the bottom section.
Add a StatusStrip.

At runtime when i drag a tool strip from topToolStripPanel and drop it
into bottomToolstripPanel the toolStrip may dock to the bottom, i want
to avoid this, i want the StatusStrip always at the bottom, is there
any property for the StatusStrip so that it is always dock to the
bottom of the form ? the StatusStrip.Dock property seem doesn't work.

Please help
Thanks
JCvoon
1) Add StatusStrip (docks bottom by default)
2) Add ToolStrip Container, dock fill
3) Add menu and toolstrips
4) Right-Click StatusStrip, click "Send To Back"
5) Run and test.
Gene
Sep 22 '06 #2
gene kelley :
>4) Right-Click StatusStrip, click "Send To Back"
Thanks. It work !

JCVoon

Sep 23 '06 #3

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

Similar topics

3
25330
by: windsurfing_stew | last post by:
Hi, Winforms has the new StatusStrip control that replaces StatusBar in 1.1. I've looked high and low but can't seem to find how to get separators (|) in my status bar, eg Info1 | Info2 |...
1
2445
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...
2
4436
by: robertino | last post by:
Hi all, (VS 2005 Pro, XP) I'm trying to place a statusstrip control on a window such that it acts like a statusstrip (!). Every time I try this, no matter what I do, I find that when I...
5
3068
by: Marc | last post by:
Hello, I have a vb.net form that I've added a StatusStrip at the bottom. On that StatusStrip I've added a DropDownButton on which I've added a Menu containing 4 sub Items
2
9302
by: Alan T | last post by:
I accidentally drop this control onto my form, how do I delete that ?
1
21008
by: Carla Simeoni | last post by:
I added a StatusStrip "Sstrip1" to a Form "Form1". In the procedure private void Form1_Load(...) I added the following statement: Sstrip1.Text = "Text in my StatusStrip";
4
2977
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
1938
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?
10
5825
by: hzgt9b | last post by:
Using VS2005 (.NET 2.0), VB.NET, I have a windows forms application. I have a StatusStrip containing a ToolStripStatusLabal and a ToolStripProgressBar. I want to force the status label to behave...
0
7124
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...
0
7326
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,...
1
7046
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
7498
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...
0
5629
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
5053
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
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
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 ...
0
418
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.