Advertisement

04.29.2008 at 08:26AM PDT, ID: 23362380
[x]
Attachment Details

VB.net Center Contents of Form

Asked by Jimbo99999 in Microsoft Visual Basic.Net

Good Day
Experts:

Another request for my project that I am unable to figure out.  I have my login screen to display on startup in the center of the screen.  Now it is to be displayed maximized.  When I set the Form property WindowState to maximized and run the program, the Form is maximized and all the contents of the Form are in the upper left corner of the screen.

How can I get the contents of the Form to stay in the center when the Form is maximized?

Thanks,
jimbo99999Start Free Trial
[+][-]04.29.2008 at 08:31AM PDT, ID: 21463217

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Sign Up Now!
Solution Provided By: cquinn
Participating Experts: 2
Solution Grade: A
 
 
[+][-]04.29.2008 at 08:55AM PDT, ID: 21463448

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.29.2008 at 09:28AM PDT, ID: 21463753

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628