How can I webbrowser control flat?

Discussion in 'Programming General' started by Covey, Dec 30, 2008.

Thread Status:
Not open for further replies.
How can I webbrowser control flat?
  1. Unread #1 - Dec 30, 2008 at 10:29 AM
  2. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    How can I webbrowser control flat?

    Does anyone know how to get rid of the 3D appearance of the webbrowser control?

    This is the code i'm currently using but every time a click a link to go to another page the 3D style kicks in again, but then once the page is loaded it changes back to flat? I can't find any other event that it works on. Please help

    Code:
    Private Sub webMain_DocumentComplete(ByVal pDisp As Object, URL As Variant)
        webMain.Document.Body.Style.BorderStyle = "none"
    End Sub
     
  3. Unread #2 - Dec 30, 2008 at 7:13 PM
  4. jdsfighter
    Joined:
    Jan 21, 2007
    Posts:
    603
    Referrals:
    0
    Sythe Gold:
    0

    jdsfighter Forum Addict
    Visual Basic Programmers

    How can I webbrowser control flat?

    lol just cheat and put it in a frame.
     
  5. Unread #3 - Dec 30, 2008 at 10:17 PM
  6. Covey
    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    How can I webbrowser control flat?

    Lol, i ended up doing that. But lets keep that on the down low :p
     
  7. Unread #4 - May 29, 2009 at 4:50 PM
  8. kironchi
    Joined:
    Apr 9, 2008
    Posts:
    16
    Referrals:
    0
    Sythe Gold:
    0

    kironchi Newcomer

    How can I webbrowser control flat?

    covey that is cheating there are probably other ways to do it i am trying to find out that too for my wb but i might not now for other reasons but basically the hard way is too change the parent of webbrowser control if possible or do what he said..put it in a frame..wish i though of that :(
     
  9. Unread #5 - May 29, 2009 at 6:03 PM
  10. Samarkov
    Joined:
    Feb 21, 2008
    Posts:
    147
    Referrals:
    0
    Sythe Gold:
    0

    Samarkov Active Member

    How can I webbrowser control flat?

    Add a timer with an interval of 1. Then, everytime it ticks, change the webbrowser back to the border you want.

    ~~Samarkov
     
  11. Unread #6 - May 29, 2009 at 9:46 PM
  12. Darthatron
    Joined:
    May 22, 2006
    Posts:
    1,612
    Referrals:
    3
    Sythe Gold:
    0

    Darthatron Massive Troll
    Retired Sectional Moderator Visual Basic Programmers

    How can I webbrowser control flat?

    Please don't post in threads that haven't been posted in for over a month.
     
< where to start with? | [C#] Global Variables. >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site