Hey, i have a webbrowser and i currently have this code for resizing :
But when i minimize or make the height too small it gives the error "invalid property value" on this line :
Any idea how to fix this?
Code:
Private Sub Form_Resize() With WebBrowser1 .Width = frmMain.Width - .Left - 120 .Height = frmMain.Height - .Top - 800 End With End Sub
Code:
.Height = frmMain.Height - .Top - 800
Any idea how to fix this?
Comment