471,337 Members | 867 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

How do I write something into the StatusStrip ?

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";

Unfortunately this text assignment is not recognized.
When I call the program the StatusStrip is empty.

How do I make the text visible ?

Carla

May 30 '07 #1
1 20828
The status strip is a sort of menu/toobar. You have to add something to it,
like a ToolStripStatusLabel, and then assign your text to that label.Text.

In the forms designer, if you left click on the statusStrip (in the form),
you should see a little box with an arrow. Left click on that, and you get
a menu of items you can add (label, progressBar, dropDownButton,
splitButton). Click on one to get the item added.

Note that you can have multiple items in the same statusStrip.
"Carla Simeoni" <c.****@subnet.netwrote in message
news:46***********************@newsspool3.arcor-online.net...
>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";

Unfortunately this text assignment is not recognized.
When I call the program the StatusStrip is empty.

How do I make the text visible ?

Carla

May 30 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Kevin T. Ryan | last post: by
7 posts views Thread by Antony Sequeira | last post: by
5 posts views Thread by anas.hashmi | last post: by
reply views Thread by rosydwin | last post: by

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.