How to make the form contents maximize when its window is maximized?

10 pts.
Tags:
Visual Basic Express 2010
Visual Basic forms
I made a form smaller than the size of the monitor, when the user choose to use the program in a full screen mode, the contents (buttons, pictures, etc) will stay in the very same size and place, and it would be a mess to see them not centered anymore in the maximized window. Any idea how to avoid that ?! Thank you

Software/Hardware used:
visual basic express 2010
ASKED: November 8, 2012  6:42 PM
UPDATED: November 8, 2012  6:49 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Ben Rubenstein
    Welcome to ITKE, xanado. Hopefully one of our members with Visual Basic experience can help with this formatting issue. 

    In the meantime, be sure to check out our FAQ for more on how the community works. 
    3,975 pointsBadges:
    report
  • carlosdl
    You might want to consider using your control's anchor or dock properties, which would allow you to define their position/size in relation to the form size.  Using this option you would probably not need to write code to reposition/resize your controls. Another option would be to handle the form's SizeChanged event, where you would write the necessary code to resize or reposition your controls according to the new form's size.
    65,110 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following