-
I have a form with a browser, a statusbar and a toolbar on it. I put in the form resize place the code that resizes the browser to the width of the program and the height of the program. But it's not resizing the browser. What could be holding back the browser from resizing!
-
What code are you using to resize the browser?
-
Private Sub Form_Resize()
Browser.Width = frmMain.Width - 120
Browser.Height = frmMain.Height - 2300
End Sub
-
But it works on form load, but it doesn't work on resize
-
Try using the ScaleWidth and ScaleHeight properties instead, as well as the Move method:
Browser.Move 0,0,ScaleWidth,ScaleHeight
Or something like that.