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

StatusStrip item help...

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 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 5792
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
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 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
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 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.comwrote:
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
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 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...@cinnovations.netwrote:
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
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 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 ToolStripStatusLabel... 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...@cinnovations.netwrote:
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
>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 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 ToolStripStatusLabel... 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.comwrote:
On Jan 12, 12:28 am, hzgt9b <celof...@gmail.comwrote:


On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinnovations.netwrote:
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
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 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 ToolStripStatusLabel... 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.comwrote:
>On Jan 12, 12:28 am, hzgt9b <celof...@gmail.comwrote:


On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinnovations.netwrote:
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
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 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 ToolStripStatusLabel... 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 ToolStripStatusLabel". 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.comwrote:
On Jan 12, 12:28 am, hzgt9b <celof...@gmail.comwrote:
On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinnovations.netwrote:
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
>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 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 ToolStripStatusLabel... 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...@cinnovations.netwrote:
On Fri, 11 Jan 2008 19:28:01 -0800 (PST), hzgt9b <celof...@gmail.com>
wrote:


On Jan 11, 5:35*pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Jan 12, 12:28 am, hzgt9b <celof...@gmail.comwrote:
On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinnovations.netwrote:
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
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 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 ToolStripStatusLabel... 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 ToolStripStatusLabel". *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 ToolStripStatusLabel.
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
On Jan 12, 2:17*am, Jack Jackson <jjack...@cinnovations.netwrote:
On Fri, 11 Jan 2008 19:28:01 -0800 (PST), hzgt9b <celof...@gmail.com>
wrote:


On Jan 11, 5:35*pm, kimiraikkonen <kimiraikkone...@gmail.comwrote:
On Jan 12, 12:28 am, hzgt9b <celof...@gmail.comwrote:
On Jan 7, 3:30 pm, Jack Jackson <jjack...@cinnovations.netwrote:
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
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 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 ToolStripStatusLabel... 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 ToolStripStatusLabel". *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 -
Thanks Jack - you got it!
The only other setting I needed was set the ToolStripProgressbar's
Alignment=Right.
Problem solved - thanks for all the responses!
Jan 12 '08 #11

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

Similar topics

3
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
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 |...
2
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
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
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...
1
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
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...
3
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...
0
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. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.