469,609 Members | 1,376 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,609 developers. It's quick & easy.

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 5524
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by wschlichtman | last post: by
2 posts views Thread by robertino | last post: by
1 post views Thread by Carla Simeoni | last post: by
1 post views Thread by S. Viswanathan | last post: by
reply views Thread by =?Utf-8?B?SmFu?= | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.