XbpHtmlViewer and Javascript error

This forum is for general support of Xbase++
Post Reply
Message
Author
User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

XbpHtmlViewer and Javascript error

#1 Post by rdonnay »

I'm getting Javascript errors when navigating to the following URL using XbpHtmlViewer or DCHTMLVIEWER:

http://www.worldcat.org/oclc/857966959?referer=xid

The error is "Object doesn't support property or method 'attachEvent'

It appears that IE needs to be run in compatibility mode to prevent this.
Has anyone encountered this problem?
The eXpress train is coming - and it has more cars.

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: XbpHtmlViewer and Javascript error

#2 Post by rdonnay »

After hours of searching on the internet, I found an answer to my problem:

oWebBrowser:silent := .t.
The eXpress train is coming - and it has more cars.

Post Reply