Solved

statusbar question?

Posted on 2006-11-06
3
500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
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.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

705 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

17 Experts available now in Live!

Get 1:1 Help Now