473,847 Members | 1,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to keep statusStrip at the bottom of the ToolStripContai ner

Hi:

I'm using VS2005, I've create a winform with the following controls:

Add a ToolStripContai ner
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 topToolStripPan el and drop it
into bottomToolstrip Panel 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.Doc k property seem doesn't work.

Please help
Thanks
JCvoon

Sep 22 '06 #1
2 4532
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 ToolStripContai ner
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 topToolStripPan el and drop it
into bottomToolstrip Panel 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.Doc k 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
25459
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 | Info3 | Info4 where Infos 1 to 4 are StatusLabels.
1
2472
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 event of the ToolStripContainer but it didn't help. Thanks, Joe
2
4458
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 maximise other containers on the form to fill its' available surface, then these other controls slip behind the statusstrip to fill ALL the form's surface as if the statusstrip didn't even exist!. Statustrip dock property is bottom, other controls all...
5
3091
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
9344
by: Alan T | last post by:
I accidentally drop this control onto my form, how do I delete that ?
1
21035
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
2998
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 each tabpage I want to place a toolstripcontainer with the buttons, textboxes, datagridviews, etc inside this toolstripcontainer. This is all fine but when I resize the window it does not create a scroll bar when it is sized smaller than the...
2
1969
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
5865
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 like it's docked to "Fill" inside the StatusStrip and force the progress bar to behave like it's docked to "Right" inside the StatusStrip. Unfortunately I do not see any way to accomplish this using just one StatusStrip control. Does anyone...
0
9892
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10991
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10653
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10718
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10347
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9490
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
7061
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5725
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3168
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.