473,372 Members | 953 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,372 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 5801
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. ...
1
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.