[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
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 :D
Re: Vb.net project dock help
Quote:
Originally Posted by
Satal Keto
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 :D
it dont work for me:( do i need to put my buttons in a panel or something?
Re: Vb.net project dock help
You shouldn't have to.
So the anchor property should have all four of the lines grey now, correct?
Re: Vb.net project dock help
Quote:
Originally Posted by
Satal Keto
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
Re: Vb.net project dock help
set the search button anchor to "Top Right" and the address box anchor to "left top right".
Re: Vb.net project dock help
Quote:
Originally Posted by
aashish_9601
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! :D have rated your post:)
Re: Vb.net project dock help
Quote:
Originally Posted by
Satal Keto
You shouldn't have to.
So the anchor property should have all four of the lines grey now, correct?
Thank you for the helP! :D
have rated your post:)
Re: Vb.net project dock help
Quote:
Originally Posted by
aashish_9601
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? :)
Re: Vb.net project dock help
You would need to change the forms, FormBorderStyle to one of the options beginning with Fixed :)
Thanks :D
Re: Vb.net project dock help
Quote:
Originally Posted by
Satal Keto
You would need to change the forms, FormBorderStyle to one of the options beginning with Fixed :)
Thanks :D
why should he
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.