Does there exist a 3rd-party plugin or RS / Xojo class, compatible with modern RS / Xojo, which provides a WebKit browser in a control on a window, on the Windows OS?
I understand that this is possible using the built-in HTMLViewer with renderer=WebKit.
But there is a bug in HTMLViewer relating to keyboard focus, which is a showstopper for my project.
Hence I am enquiring if anyone has coded an equivalent, commercial or non-commercial, which might be available under license.
and add the browser page as an activex control. The compiled library will need to reside in the system folder or within the libs folder of your application to work. The library is written in VB6 but could easily be updated for VS… which is not necessary.
In essence, when the WebKit control has the keyboard focus, pressing a ‘backspace’ key is sent to the KeyDown event of a canvas which previously had the focus.
The ctl compiles to an ocx file using VB. Place a copy of the ocx in your system(32) folder c:\windows\system32 folder for the Xojo IDE to be able to access it. Goto the Xojo menu and find add activex and select the control. This will add the control to your project explorer, then drag am instance of it to the window as you would any other control. If it doesn’t appear in the Xojo add activex dialog…
open cmd.exe and type
regsvr32 thenameofocx.ocx and it will say “DLL resgistry succeeded.” It should now be accessible in the Xojo add activex menu dialog.
For a compiled stand-alone application, place a copy of the ocx next to the executable in its build folder, or within the Libs folder.
Thanks for your replies. I am utterly out of my depth here. In VB6 ( not used for a decade ) I compile the project - all it compiles is the .exe. I could register the WebKit.dll in your binary distribution, but no sign of it in the ActiveX list. If I try to compile just the .ctl ( loaded separately from the .vbp ) I get an error. I am too clueless to do this - any chance of you compiling the .ocx for us?
I don’t have a “need”, but as the Rolling Stones were wont to say “You can’t always get what you want, But if you try sometimes well you might find, You get what you need”. A “want”, because I would like to see what I can do with it, and I am trying to learn about making interesting Activex controls work in RB/Xojo. I am admittedly a bit clueless in this regard.
That said, has anyone got the MS Winsock control to co-operate? I can get it to connect, but not to send data.