469,578 Members | 1,863 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

How to show separators in WinForm's StatusStrip control?

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.

Any takers?

Stew

Jan 14 '06 #1
3 24201
The "Items Collection Editor" of the StatusStrip control doesn't allow
it, but you can call StatusStrip.Items.Add(new Image()). The image
would be your separator as an embedded resource.

If there's another way to do it, I don't see it.

Jason Newell
wi**************@yahoo.com.au wrote:
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.

Any takers?

Stew

Jan 15 '06 #2
Set the border style to Etched and have bordersides Left, Right for the
object in the status strip. This creates the exact look.

Chris
<wi**************@yahoo.com.au> wrote in message
news:11*********************@o13g2000cwo.googlegro ups.com...
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.

Any takers?

Stew

Jan 15 '06 #3
Many Thanks. That's what I was looking for.

Jan 16 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Sunil Menon | 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
10 posts views Thread by hzgt9b | last post: by
reply views Thread by =?Utf-8?B?SmFu?= | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.