Webbrowser resizing with form

7 posts, 2 answers
  1. Alex
    Alex avatar
    4 posts
    Member since:
    Mar 2011

    Posted 30 Mar 2011 Link to this post

    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!
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 31 Mar 2011 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Alex
    Alex avatar
    4 posts
    Member since:
    Mar 2011

    Posted 31 Mar 2011 Link to this post

    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
  5. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 31 Mar 2011 Link to this post

    Hello Alex,

    You should use the Anchor property for this. Please take a look at this external link for more information
    Regards,
    Richard
  6. Alex
    Alex avatar
    4 posts
    Member since:
    Mar 2011

    Posted 31 Mar 2011 Link to this post

    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
  7. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 31 Mar 2011 Link to this post

    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
  8. Alex
    Alex avatar
    4 posts
    Member since:
    Mar 2011

    Posted 31 Mar 2011 Link to this post

    O okey im sorry i didnt know that =( thank you again!
Back to Top
UI for WinForms is Visual Studio 2017 Ready