Clarion 11 with webview

Hi, I’m a long-time Clarion programmer.

My goal is to control a Gantt chart within Clarion. I’ve tried using AI Gemini and Claude, but I gave up because the results were incredibly frustrating.
The suggested approach is to use WebView2 and connect via JSON with a bridge. Does anyone know of a product that’s natively versatile with Clarion or has successfully used WebView? Thanks in advance.

Hi Gustavo

Firstly, welcome to the Hub. We hope you find it useful and enjoy your stay.

There are a couple of options for working with WebView2.

One route is native code using Easy Edge Chromium.

From there, you can build whatever you need. I recently had Claude Code create a Kanban control and template using it. Once pointed in the right direction, Claude was able to generate the JavaScript, Clarion code, and template code.

Another option is to wrap a COM control created in C#. Com for Clarion from ClarionLive can help with this. There is also a Clarion addin that embeds Claude Code (and other AI tools) directly into the IDE, and COM control creation can be done from there as well.

I hope this helps you get off to a good start.

Mark

I’m using Google Charts together with Webview2.
I’m simply creating the necessary GoogleCharts html code and display the html with EasyEdge Webview2.

Jens

Hi Gustavo,

Take a look at Chartjs.org - opensource - you can easily adapt the Scatter (Scatter | Chart.js)

~P

Hello
I suggest you try ClarionCOM, the tool developed by John Hickey. You can do incredible things with it.
You could raise the problem, and it will surely generate Webview control capable of solving your problem.
The process is quite simple.
Greetings…

Hi Mark. Thanks for your reply, I’m going to try the solution you recommended.

hi, thank you for your replay. I was looking in the links you sent me for the Gantt chart but I didn’t see any examples; I think they’re not included among the ones they have developed.

We also use EasyEdge, it’s great! And Mike Duglas has helped me a lot in the past, great guy!

Sorry. I forgot to include the link

There is a plugin you can use and it works very well

Hi Gustavo,
I wanted to use HTML in my Clarion app hosted on my Windows Server 2025 cloud server.
I tried CapeSoft ChromeExplorer, Ingasoft EasyHTML and Noyantis HTML Editor.
They all work okay on Windows 11.
But none of them work on Server 2025, which is locked down pretty good.
You can’t even copy or paste. None of these use WebView2.
So, I wrote my own HTML Editor using C#, with a lot of help from Copilot.
Now I have a nice, custom HTML editor using WebView2 for my Clarion app.
I didn’t use any JSON.
I save my HTML in a blob field in a tps file, which works great for storing images.
It didn’t have to buy anything.
I suggest you give it a try.
Bob