Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Borderless Webbrowser Control 1

Status
Not open for further replies.

fischadler

Programmer
May 31, 2002
258
MT
Is there a way to remove the border of the Webbrowser control? Note that I am NOT referring to the border around the web page which can be removed using "leftmargin=0" and "topmargin=0". I am referring to the border which, in the case of the textbox control, for example, can be removed with ".BorderStyle=0"

-Fischadler
 
I believe the only way is to place the webbrowser in a container such as a picturebox and move/resize it so that the border is hidden. There is no property in webbrowser to hide the frame, or other way of achieving it as far as I'm aware.

- Andy
___________________________________________________________________
If you think nobody cares you're alive, try missing a couple of mortgage payments
 
Thanks Andy!
Not exactly what I was looking for but it is good enough. I used a borderless frame control, set the left and top properties of the webbrowser control to -30 and set the width and height of the frame accordinngly.

-Fischadler
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top