Solved

statusbar question?

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
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.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

856 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