[RESOLVED] Vb.net project dock help-VBForums
Results 1 to 12 of 12

Thread: [RESOLVED] Vb.net project dock help

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    Resolved [RESOLVED] Vb.net project dock help

    Im a bit new to vb.net and i have maked a webbrowser but cant get the dock thing to work im not so good to that
    the form looks like this: http://img63.imageshack.us/i/notfullsize.jpg/
    then when i maximize it to full screen it looks like this: http://img338.imageshack.us/i/fullsizewi.jpg/ not good how do i fix it?
    and please explain simple im not the best to vb.net
    Hope someone can help

  2. #2
    Fanatic Member Satal Keto's Avatar
    Join Date
    Dec 2005
    Location
    Me.Location
    Posts
    518

    Re: Vb.net project dock help

    If you look at the properties for the webbrowser control, go to the anchor property, click on it, this will come up with a box with four lines, top, left, right and bottom. You need to click on the top line so that it goes grey. This should then work

    Hope this helps

    Satal

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    Re: Vb.net project dock help

    Quote Originally Posted by Satal Keto View Post
    If you look at the properties for the webbrowser control, go to the anchor property, click on it, this will come up with a box with four lines, top, left, right and bottom. You need to click on the top line so that it goes grey. This should then work

    Hope this helps

    Satal
    it dont work for me do i need to put my buttons in a panel or something?

  4. #4

  5. #5

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    Re: Vb.net project dock help

    Quote Originally Posted by Satal Keto View Post
    You shouldn't have to.
    So the anchor property should have all four of the lines grey now, correct?
    now is all webbrowser anchor grey and it looks like this: http://img40.imageshack.us/i/nowitlooks.jpg/


    but how do the buttons and combobox move with it? sry for noob questions

  6. #6
    Frenzied Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,070

    Re: Vb.net project dock help

    set the search button anchor to "Top Right" and the address box anchor to "left top right".

  7. #7

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    Re: Vb.net project dock help

    Quote Originally Posted by aashish_9601 View Post
    set the search button anchor to "Top Right" and the address box anchor to "left top right".
    Thank you now i have learn how to use anchor! have rated your post

  8. #8

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    Re: Vb.net project dock help

    Quote Originally Posted by Satal Keto View Post
    You shouldn't have to.
    So the anchor property should have all four of the lines grey now, correct?
    Thank you for the helP!
    have rated your post

  9. #9

    Thread Starter
    Junior Member
    Join Date
    May 2010
    Posts
    25

    Re: Vb.net project dock help

    Quote Originally Posted by aashish_9601 View Post
    set the search button anchor to "Top Right" and the address box anchor to "left top right".
    one question more how do i set the form to so the size can only be: 1084; 584 and then man cant minimize more only maximize?

  10. #10

  11. #11
    Frenzied Member
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,070

    Re: Vb.net project dock help

    Quote Originally Posted by Satal Keto View Post
    You would need to change the forms, FormBorderStyle to one of the options beginning with Fixed

    Thanks
    why should he

  12. #12
    Fanatic Member Satal Keto's Avatar
    Join Date
    Dec 2005
    Location
    Me.Location
    Posts
    518

    Re: Vb.net project dock help

    Woops sorry you should set the forms MinimumSize property to the smallest that you want the form to be, what I described above will stop you resizing the form.

Tags for this Thread

Posting Permissions

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



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.