This is a migrated thread and some comments may be shown as answers.

Webbrowser resizing with form

6 Answers 487 Views
Form
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 30 Mar 2011, 07:04 PM
Hi guys =) im very new to VB and i made a form , and added a webbrowser in it. So what i want, when i resize the form the webbrowser resize at same time. IM using VB 10. I would really need help :) thanks!

6 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 31 Mar 2011, 09:52 AM
Hello Alex,

This is not really a Telerik question but you need to set the Dock property of the WebBrowser control to Fill.
Hope that helps
Richard
0
Alex
Top achievements
Rank 1
answered on 31 Mar 2011, 12:30 PM
hi, Thanks for your help! But the think is that i dont want the webbrowser to be thru whole form, just a part of it .

Thanks
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 31 Mar 2011, 12:36 PM
Hello Alex,

You should use the Anchor property for this. Please take a look at this external link for more information
Regards,
Richard
0
Alex
Top achievements
Rank 1
answered on 31 Mar 2011, 03:16 PM
Thank you very much Richard! If you dont mind i have one more question please =)

i created a form without border. and the icon in taskbar when i click on it.. it should minimize program but that doesnt happen. Do you have any idea how could i add this function? Thanks alot
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 31 Mar 2011, 03:45 PM
Hello,

The FormBorderStyle determines what border functionality is available. A style of none is usually used for Start Up and Splash Screens and therefore should not be moved or minimized. See this Microsoft Link for more information.

Whilst I really don't mind answering your questions, please bear in mnd this forum is for Telerik related questions, and general Windows Forms development questions should really be asked in the relevant Microsoft forum.

All the best
Richard
0
Alex
Top achievements
Rank 1
answered on 31 Mar 2011, 04:15 PM
O okey im sorry i didnt know that =( thank you again!
Tags
Form
Asked by
Alex
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Alex
Top achievements
Rank 1
Share this question
or