WebBrowser.Object BackColor ??

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

Hello All

HAve put an animated gif into a form using the following code

Private Sub Form_Load()
Me.ocxWebBrowser.Object.Navigate CurrentProject.Path & "\policecar7.gif"
End Sub

Private Sub ocxWebBrowser_NavigateComplete2(ByVal pDisp As Object, URL As
Variant)
Me.ocxWebBrowser.Object.Document.body.Scroll = "no"
End Sub

This works well and the animation performs as expected
My only problem is the animated gif has a blue background as does the form,
however the object appears to put a frame with a white background around the
..gif and for the life of me I cant find where to change this to the same blue
colour as the gif and the form

Any thoughts would be appreciated

Kindest Regards
 
I'm not sure you can: web browsers get their colour cues from the HTML (or
CSS) they're rendering.
 
Back
Top