How to show separators in WinForm's StatusStrip control?

  • Thread starter Thread starter windsurfing_stew
  • Start date Start date
W

windsurfing_stew

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
 
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
 
Set the border style to Etched and have bordersides Left, Right for the
object in the status strip. This creates the exact look.

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top