Results 1 to 6 of 6

Thread: Sizable Web Browser

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2008
    Posts
    61

    Sizable Web Browser

    Hello. I got a simple question:
    How to make the WebBrowser1 border style to be sizable (just like the form)?
    Thank you.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Sizable Web Browser

    Put this on your form
    Code:
    Private Sub Form_Resize()
    WebBrowser1.Height = Me.Height
    WebBrowser1.Width = Me.Width
    End Sub

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2008
    Posts
    61

    Re: Sizable Web Browser

    Oops lol I think I didn't explain it well.
    What I need is to make it able to choose the size I want (width, height, top and left) with my mouse, like the in the default form border style setting.

  4. #4
    Fanatic Member Mxjerrett's Avatar
    Join Date
    Apr 2006
    Location
    Oklahoma
    Posts
    939

    Re: Sizable Web Browser

    Do you mean like dragging it around?

    If a post has been helpful please rate it.
    If your question has been answered, pull down the tread tools and mark it as resolved.

  5. #5

    Thread Starter
    Member
    Join Date
    Jun 2008
    Posts
    61

    Re: Sizable Web Browser

    yes lol

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Sizable Web Browser

    Well, the problem with that is the webbrowser control has no mouse events, so I don't know how you are going to resize using an item for which it has no programable events.

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