Hello,
regarding to this post: https://forum.xojo.com/22205-webkit-browser-control-freezes-sometimes-when-dragging-a-window
here a (the) working chromium based .ocx plugin. Its mostly the same as the integrated xojo webkit, but it didnt freeze if you drag the window or other GUI-elements… But there are some other bugs.
If you want to display a website maybe an animation or something else, which shouldnt freeze while using the GUI and will need a better browser than IE, this .ocx is the right for you.
Orginally this .ocx where programmed for using in Visual Basic 6.0. I had to delete and fix some stuff. Not all control functions will work properly. For example if you use the javascript execute command, it works fine if you are using only one of these controls, if you are using two or more, the javascript execution command will always be send to the last added control. I dont know why. Also some other commands will not work properly or completly / producing error. I didn’t tested it yet.
But at least the most usefull commands like OpenURL, Refresh, Reload & more are working properly.
If you want to use the Xojo WebKit Browser combined with the .ocx Chromium WebKit Browser, Xojo will crash - Try to avoid it. The native browser is working.
I created an .zip file which includes the xojo projekt file (it will load a form with the included .ocx), the plugin itself and a batch file, which will register the .ocx file. Without registering the .ocx file, xojo can’t load (find) the .ocx file.
So:
First extract the .zip file
run the “Register.bat” as admin (right click -> run as admin)
Open the project “WebKit_OCX.xojo_binary_project”
run the project and have fun
http://klomeister.eimer-24.de/Daten/Xojo_Chromium_OCX.zip
The original file is open source, use at own risk.
If someone want to fix bugs, than you are welcome