473,372 Members | 1,338 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.

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 20995
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Kevin T. Ryan | last post by:
Hi All - I'm not sure, but I'm wondering if this is a bug, or maybe (more likely) I'm misunderstanding something...see below: >>> f = open('testfile', 'w') >>> f.write('kevin\n') >>>...
1
by: Peter Hansen | last post by:
Assume there is a given Non-Gui (console is the only interface) library (DLL under Win2000). Now I want to open a second (!) console out of this library/DLL and write something on it with printf()....
0
by: bafidi | last post by:
hi i want help my component is Public Class frmYeniGirisGenelComponent Inherits System.ComponentModel.Component Public Sub deneme() Dim YeniGiris As ARAMA.frmYeniGiris...
7
by: Antony Sequeira | last post by:
Hi While looking at some code I realized that the built in setTimeout function takes a string that is later evaluated in the original caller's context. How does one achieve something similar in...
5
by: anas.hashmi | last post by:
I am trying to write to the beginning of a file. The reason: I want to make a form where board webmasters can use it to insert in updates to a webpage without having to go directly into the web...
1
by: Miha | last post by:
Hi. I want to write some text ("bla bla") to a file something.txt. That file is accessible on http://192.168.0.1/dir/something.txt (I'm on LAN side). I can read from that file. Web server is on...
1
by: maddog | last post by:
I have granted write permission to aspnet account for the direcotry on ther server (not a webshare folder). And there is an aspx page do this jobs: 1. get the customer's post data(ms-word...
1
by: Carla Simeoni | last post by:
I would like to write seomthing into the title bar of the current Form "Form1". How can I do this ? How can I display/add a status bar (currently there is no such status bar) and write something...
9
by: Ronald S. Cook | last post by:
Can I write If MyString = "Apple" Or MyString = "Orange" Or MyString = "Pear" Then to something more compact like If MyString In ("Apple", "Orange", "Pear") Then My last line obviously...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.