1

I'm trying to catch the document.click event of a ActiveX-Browsercontrol in Foxpro. It works with the default BrowserOLE and this approach (at the bottom).

However, we need to have more Html5 compatibility and I am using WebKitX - ActiveX now. Unfortunately the examples are for VB6 and I need to implement it in a FoxPro - Project. The browser itself is working, just the addEventListener - method is mystery to me.

Any ideas?

Weissvonnix
  • 731
  • 7
  • 23

1 Answers1

0

In the new version of the WebKitX (Jan 2018) you can set the events you want to receive using WebKitX.Events = ON_CLICK + etc.. and receive notifications from OnEvent generic event handler. So you don't need to use addEventListener any more.

Elias
  • 452
  • 5
  • 11