Solved

statusbar question?

Posted on 2006-11-06
3
506 Views
Last Modified: 2009-07-29
If you want to place a Status Bar control named 'statusBar1' at the bottom of your Windows Form, which of the following would be the correct property to set?

statusBar1.Dock = DockStyle.Bottom;
 
 
--------------------------------------------------------------------------------
 
  statusBar1.Lock = "Bottom";
 
 
--------------------------------------------------------------------------------
 
  Location(statusBar1) = DockStyle.Bottom;
 
 
--------------------------------------------------------------------------------
 
  statusBar1 = Placement.Down;
 
0
Comment
Question by:mathieu_cupryk
3 Comments
 
LVL 15

Accepted Solution

by:
ozymandias earned 250 total points
ID: 17885588
statusBar1.Dock = DockStyle.Bottom;


...but I am not sure you would need to.
I think that Bottom is the default DockStyle of a status bar.
0
 
LVL 62

Expert Comment

by:Fernando Soto
ID: 17885600
statusBar1.Dock = DockStyle.Bottom;
0
 

Author Comment

by:mathieu_cupryk
ID: 17885619
Thanks guys I tried it in a form and it work well.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now