473,657 Members | 2,678 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 21025
The status strip is a sort of menu/toobar. You have to add something to it,
like a ToolStripStatus Label, 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.arc or-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
1777
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') >>> f.write('dan\n') >>> f.write('pat\n') >>> f.close()
1
682
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(). How do I do that ? Thx Peter
0
834
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 YeniGiris.txtOfTaKonu.Text = "1985"
7
1641
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 user defined functions. -Antony
5
17946
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 file and start editing. The form must write to the beginning of the file so that the update appears on the top of the file instead. I was actually writing in PHP but see that they do not support it. So I turned to C++. On About.com, the...
1
1302
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 IIS, I set to allow everyone NTFS full control premission, and on IIS server I set allow read and write. I found some ideas in library http://msdn.microsoft.com/library/en-us/cpguide/html/cpconaccessinginternet.asp an
1
1062
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 document). 2. Save it to my a file in the folder I mentioned first. At client there is a vb program call MS-word com object's open method: word.open(http://server/u.aspx?id=r0.doc);
1
1865
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 into this status bar? Carla
9
2131
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 doesn't work but maybe I'm close?
0
8316
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8833
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8610
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6174
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5636
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4327
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2735
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1967
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1730
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.