Hello. I got a simple question:
How to make the WebBrowser1 border style to be sizable (just like the form)?
Thank you.
Printable View
Hello. I got a simple question:
How to make the WebBrowser1 border style to be sizable (just like the form)?
Thank you.
Put this on your formCode:Private Sub Form_Resize()
WebBrowser1.Height = Me.Height
WebBrowser1.Width = Me.Width
End Sub
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.
Do you mean like dragging it around?
yes lol
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.