Statusstrip Text Issue

All,

I've been playing around with the new beta express version and noticed they have changed a few components.  I am having some trouble with the new statusstrip and toolstrippanel components.  With the new status strip, you can "assign" various panels to it but I have been unable to determine how to hide those panels and/or display the text property for the statusstrip itself. 

With the old statusbar it would look like:

StatusBar.ShowPanels = true/false

The new statusstrip component does not include this property anywhere.

And for the text on the new statusstrip there is absolutuely a property for text but
...StatusStrip.Text = "Why won't this display on my StatusStrip ! "

As a side note, the documentation for these new components is very scarce and I can't seem to find much about them.

Any suggestions   


Answer this question

Statusstrip Text Issue

  • PCAVV

    Yeah, I have the same problem too. Where is the answer
  • Geekays

    Got it. You have to *add* StatusLabel control to the StatusStrip object. StatusStrip object is just a container so setting Text property of it does nothing.

    Use Properties window's Items property to add StatusLabel obect, name it whatever (say _MyStatusLabel).

    Then, you can do

    _MyStatusLabel.Text = "Hello World";

  • Statusstrip Text Issue