Results 1 to 3 of 3

Thread: Sizable form...

  1. #1

    Thread Starter
    Member
    Join Date
    Mar 2007
    Posts
    58

    Question Sizable form...

    Hey guys i made a program and its perfect for my resolution and monitor....
    But then i sended it to my frend and next day he showed me how it looks ...It was half coverd lol. So how do i make my form sizable for all resolutions that it all fits on screen (Net program (webbrowser))

  2. #2
    PowerPoster Radjesh Klauke's Avatar
    Join Date
    Dec 2005
    Location
    Sexbierum (Netherlands)
    Posts
    2,244

    Re: Sizable form...

    Which means that you first have to read the current resolution and then resize the form. Do not forget to add scrollbars on the form.

    A little search on the forum will give you the proper code on how to obtain the current screenresolution.


    If you found my post helpful, please rate it.

    Codebank Submission: FireFox Browser (Gecko) in VB.NET, Load files, (sub)folders treeview with Windows icons

  3. #3
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: Sizable form...

    Design the form so that it fits properly at the lowest resolution you want to support. You can use the Form Layout Window to help you do that. Then use the code in the Resize controls link in my signature to allow for higher resolutions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width