[RESOLVED] [2005/2008] Status panels exist in design yet don't exist??
Now I am very confused!
I have two programs. One I made in VS 05, the other is the source code of someone else's program written in VS 02/03.
In my program, I have a status strip and I want to add panels to it. Unfortunately, status panels seem to have been removed in 2005 or something because they are definitely not in the properties window anymore!
I checked documentation:
http://msdn2.microsoft.com/en-us/library/1d33ybez.aspx
http://msdn2.microsoft.com/en-us/lib...73(VS.71).aspx
Which gives me more frustration because said "panels property" just doesn't exist! Nor does "show panels" exist!
But the other program I downloaded has a status strip with status panels on it. I opened this program in VS 08 after going through the conversion wizard. I copied the status strip from the program into my program and it works fine...which doesn't make sense. Where did THIS status strip come from?? I can't set the background properties of it and it doesn't show up as a little icon at the bottom (dialogs/toolbars collection pane).
What am I missing? :S
(Btw I don't want to add them programmatically, I'd like to have something like these in "design" and automatically-generated code).
Re: [2005/2008] Status panels exist in design yet don't exist??
In .NET 1.x you used the StatusBar class to create a status bar on your form. The StatusBar class still exists for backward compatibility but you should not use it in .NET 2.0+. You use the StatusStrip class, which performs the same function but is implemented completely differently.
Add a StatusStrip to your form from the Toolbox. Select the strip, click the down-arrow on it and select the type of item you want to add, e.g. Label. That will add a ToolStripStatusLabel to your StatusStrip, which you can then select and set properties of just like any other item on your form.
Re: [2005/2008] Status panels exist in design yet don't exist??
Thanks, I had thought that I was just missing something and the seeming presence of it within the documentations was driving me insane. =)