473,703 Members | 3,125 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

StatusStrip item help...

Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatus Labal and a ToolStripProgre ssBar.

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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)
Jan 7 '08 #1
10 5843
On Jan 7, 7:19 pm, hzgt9b <celof...@gmail .comwrote:
Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatus Labal and a ToolStripProgre ssBar.

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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)
If you're meaning the alignment of objects on the form, you can
configure "anchor" in properties window beyond struggling with
"dock"ing.

Hope this helps.
Jan 7 '08 #2
On Mon, 7 Jan 2008 09:19:19 -0800 (PST), hzgt9b <ce******@gmail .com>
wrote:
>Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatu sLabal and a ToolStripProgre ssBar.

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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)
Set the Spring property for the label to True.
Jan 7 '08 #3
On Jan 7, 1:35*pm, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Jan 7, 7:19 pm, hzgt9b <celof...@gmail .comwrote:
Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatus Labal and a ToolStripProgre ssBar.
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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)

If you're meaning the alignment of objects on the form, you can
configure "anchor" in properties window beyond struggling with
"dock"ing.

Hope this helps.
Nope, didn't mean the alignment of objects on a form but rather the
alignment of toolstrip objects inside a StatusStrip control...
Jan 11 '08 #4
On Jan 7, 3:30*pm, Jack Jackson <jjack...@cinno vations.netwrot e:
On Mon, 7 Jan 2008 09:19:19 -0800 (PST), hzgt9b <celof...@gmail .com>
wrote:
Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatus Labal and a ToolStripProgre ssBar.
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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)

Set the Spring property for the label to True.
This did not work... the left edge of the progress bar still floats to
the left of the text in the ToolStripStatus Label... are there any
other properties that need to be set in conjunction with Spring it to
perform as advertised?
Jan 11 '08 #5
On Jan 12, 12:28 am, hzgt9b <celof...@gmail .comwrote:
On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinno vations.netwrot e:
On Mon, 7 Jan 2008 09:19:19 -0800 (PST), hzgt9b <celof...@gmail .com>
wrote:
>Using VS2005 (.NET 2.0), VB.NET,
>I have a windows forms application. I have a StatusStrip containing a
>ToolStripStatu sLabal and a ToolStripProgre ssBar.
>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 have suggestions on how to get the desired arrangement
>using just one (1) StatusStrip control? (I feel like I'm missing
>something easy)
Set the Spring property for the label to True.

This did not work... the left edge of the progress bar still floats to
the left of the text in the ToolStripStatus Label... are there any
other properties that need to be set in conjunction with Spring it to
perform as advertised?
Try this:

Click StatusStrip and go to properties window. Click "items" and click
on the item to adjust all the location / alignment or other property
related things of items inside StatusStrip control. (eg: Progressbar,
StatusLabel)

Especially look at "layout" section of these items' properties which
are located under StatusStrip -property window -"items".

Hope this helps.
Jan 11 '08 #6
On Jan 11, 5:35*pm, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Jan 12, 12:28 am, hzgt9b <celof...@gmail .comwrote:


On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinno vations.netwrot e:
On Mon, 7 Jan 2008 09:19:19 -0800 (PST), hzgt9b <celof...@gmail .com>
wrote:
Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatus Labal and a ToolStripProgre ssBar.
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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)
Set the Spring property for the label to True.
This did not work... the left edge of the progress bar still floats to
the left of the text in the ToolStripStatus Label... are there any
other properties that need to be set in conjunction with Spring it to
perform as advertised?

Try this:

Click StatusStrip and go to properties window. Click "items" and click
on the item to adjust all the location / alignment or other property
related things of items inside StatusStrip control. (eg: Progressbar,
StatusLabel)

Especially look at "layout" section of these items' properties which
are located under StatusStrip -property window -"items".

Hope this helps.- Hide quoted text -

- Show quoted text -
Thanks for your suggestions...
Yes, I know how to access the properties of the StatusStrip and have
toyed with all the Layout properties prior to posting here. What I
found is that there is no way to control the layout of multiple
toolstrip elements in the way I described in my original question -
i.e. a status label glued/docked/archored (whatever) to the left side
of the form and a progress bar glued/docked//archored (whatever) to
the right side of the form.

Am I missing something simple? If so, tell me what settings you are
using to accomplish the layout described above...
Jan 12 '08 #7
On Fri, 11 Jan 2008 19:28:01 -0800 (PST), hzgt9b <ce******@gmail .com>
wrote:
>On Jan 11, 5:35*pm, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
>On Jan 12, 12:28 am, hzgt9b <celof...@gmail .comwrote:


On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinno vations.netwrot e:
On Mon, 7 Jan 2008 09:19:19 -0800 (PST), hzgt9b <celof...@gmail .com>
wrote:
Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatus Labal and a ToolStripProgre ssBar.
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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)
Set the Spring property for the label to True.
This did not work... the left edge of the progress bar still floats to
the left of the text in the ToolStripStatus Label... are there any
other properties that need to be set in conjunction with Spring it to
perform as advertised?

Try this:

Click StatusStrip and go to properties window. Click "items" and click
on the item to adjust all the location / alignment or other property
related things of items inside StatusStrip control. (eg: Progressbar,
StatusLabel)

Especially look at "layout" section of these items' properties which
are located under StatusStrip -property window -"items".

Hope this helps.- Hide quoted text -

- Show quoted text -

Thanks for your suggestions...
Yes, I know how to access the properties of the StatusStrip and have
toyed with all the Layout properties prior to posting here. What I
found is that there is no way to control the layout of multiple
toolstrip elements in the way I described in my original question -
i.e. a status label glued/docked/archored (whatever) to the left side
of the form and a progress bar glued/docked//archored (whatever) to
the right side of the form.

Am I missing something simple? If so, tell me what settings you are
using to accomplish the layout described above...
I built a StatusStrip with two items:

Label, with Spring = True
ProgressBar

The ProgressBar is aligned on the right and the label occupies the
rest of the space.

I am confused by your statement "the left edge of the progress bar
still floats to the left of the text in the ToolStripStatus Label". If
the label appears first in the list of items, I don't see how the
progress bar can be to the left of it.
Jan 12 '08 #8
On Jan 12, 5:28 am, hzgt9b <celof...@gmail .comwrote:
On Jan 11, 5:35 pm, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Jan 12, 12:28 am, hzgt9b <celof...@gmail .comwrote:
On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinno vations.netwrot e:
On Mon, 7 Jan 2008 09:19:19 -0800 (PST), hzgt9b <celof...@gmail .com>
wrote:
>Using VS2005 (.NET 2.0), VB.NET,
>I have a windows forms application. I have a StatusStrip containing a
>ToolStripStatu sLabal and a ToolStripProgre ssBar.
>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 have suggestions on how to get the desired arrangement
>using just one (1) StatusStrip control? (I feel like I'm missing
>something easy)
Set the Spring property for the label to True.
This did not work... the left edge of the progress bar still floats to
the left of the text in the ToolStripStatus Label... are there any
other properties that need to be set in conjunction with Spring it to
perform as advertised?
Try this:
Click StatusStrip and go to properties window. Click "items" and click
on the item to adjust all the location / alignment or other property
related things of items inside StatusStrip control. (eg: Progressbar,
StatusLabel)
Especially look at "layout" section of these items' properties which
are located under StatusStrip -property window -"items".
Hope this helps.- Hide quoted text -
- Show quoted text -

Thanks for your suggestions...
Yes, I know how to access the properties of the StatusStrip and have
toyed with all the Layout properties prior to posting here. What I
found is that there is no way to control the layout of multiple
toolstrip elements in the way I described in my original question -
i.e. a status label glued/docked/archored (whatever) to the left side
of the form and a progress bar glued/docked//archored (whatever) to
the right side of the form.

Am I missing something simple? If so, tell me what settings you are
using to accomplish the layout described above...
You'd better to put a screenshot there to identify your issue well.
Jan 12 '08 #9
On Jan 12, 2:17*am, Jack Jackson <jjack...@cinno vations.netwrot e:
On Fri, 11 Jan 2008 19:28:01 -0800 (PST), hzgt9b <celof...@gmail .com>
wrote:


On Jan 11, 5:35*pm, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
On Jan 12, 12:28 am, hzgt9b <celof...@gmail .comwrote:
On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinno vations.netwrot e:
On Mon, 7 Jan 2008 09:19:19 -0800 (PST), hzgt9b <celof...@gmail .com>
wrote:
Using VS2005 (.NET 2.0), VB.NET,
I have a windows forms application. I have a StatusStrip containing a
ToolStripStatus Labal and a ToolStripProgre ssBar.
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 have suggestions on how to get the desired arrangement
using just one (1) StatusStrip control? (I feel like I'm missing
something easy)
Set the Spring property for the label to True.
This did not work... the left edge of the progress bar still floats to
the left of the text in the ToolStripStatus Label... are there any
other properties that need to be set in conjunction with Spring it to
perform as advertised?
Try this:
Click StatusStrip and go to properties window. Click "items" and click
on the item to adjust all the location / alignment or other property
related things of items inside StatusStrip control. (eg: Progressbar,
StatusLabel)
Especially look at "layout" section of these items' properties which
are located under StatusStrip -property window -"items".
Hope this helps.- Hide quoted text -
- Show quoted text -
Thanks for your suggestions...
Yes, I know how to access the properties of the StatusStrip and have
toyed with all the Layout properties prior to posting here. What I
found is that there is no way to control the layout of multiple
toolstrip elements in the way I described in my original question -
i.e. a status label glued/docked/archored (whatever) to the left side
of the form and a progress bar glued/docked//archored (whatever) to
the right side of the form.
Am I missing something simple? If so, tell me what settings you are
using to accomplish the layout described above...

I built a StatusStrip with two items:

Label, with Spring = True
ProgressBar

The ProgressBar is aligned on the right and the label occupies the
rest of the space.

I am confused by your statement "the left edge of the progress bar
still floats to the left of the text in the ToolStripStatus Label". *If
the label appears first in the list of items, I don't see how the
progress bar can be to the left of it.- Hide quoted text -

- Show quoted text -
My fault, I meant to say the left edge of the progress bar floats to
the RIGHT of the text in the ToolStripStatus Label.
You got this to work?! Where there any other settings made to the
containing statusStrip or the two controls it contained? I'll give
this another try.
Jan 12 '08 #10

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

Similar topics

3
7542
by: wschlichtman | last post by:
I have an MDI app and would like to some text and place it in a ToolStripStatusLabel. How can I accomplish this?
3
25410
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.
2
4451
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
3080
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
4515
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 strip. Add another tool strip.
1
21029
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";
1
9249
by: S. Viswanathan | last post by:
Hi! When mouse over on menuitem, the corresponding menuitem text should display in StatusStrip control. How to do this? Simillarly for when mouse over on toolstrip item, the corresponding toolstrip button tag property need to be taken.
3
4479
by: SniperDemon | last post by:
Background: The Program runs a query on a SQL Database, then it takes the gathered information and outputs it into an excel document and saves it to a specified location. Problem: Originally I was using a Label and ProgressBar Located in the form itself but for the sake of appearance I decided it would look better to create a StatusStrip. I relocated the uiFileCreationLabel and uiFileCreationProgressBar to the Status strip as a StatusLabel...
0
1346
by: =?Utf-8?B?SmFu?= | last post by:
There MUST be a simple solution for this! Every windows application shows some extra information in the status bar for the selected menu entry when the user browses around the application menu. What's the standard way to do that in a Windows Forms 2.0+ application? I'm using a MenuStrip and a StatusStrip. It can't be right that I have to hook to mouse events on each and every entry in the menu... I haven't had any luck finding the...
0
9112
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
9005
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
8961
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
7856
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...
1
6585
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4425
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...
1
3115
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 we have to send another system
2
2440
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2058
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.