[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WebView object - Event on Link click


On Wed, 9 Sept 2026 at 11:47, gbWilly <gbWilly@xxxxxxxxxxxxxx> wrote:

> On Wednesday, September 9th, 2026 at 05:38, Olivier Cruilles <
> olivier.cruilles@xxxxxxxx> wrote:
>
> > Hello,
> >
> > I'm using a WebView (gb.qt) in one of my project and I would like to
> > know if it's possible to raise an event when the user click on a Web
> > Link in the web page displayed into this WebView.
> >
> > I tried the WebView1_Link() event but it raise when the user fly over a
> > link with the mouse, but no way to get the link reference.
> >
>
> The WebView1_Url() event is what triggers when clicking on a link.
>
>
> gbWilly
>
> Wanna learn Gambas? - Guides overview
>
> GambOS
> Gambas3 for Debian/Ubuntu


Even better.
I've added that little known info to the gambas wiki.

BruceS

Follow-Ups:
Re: WebView object - Event on Link clickOlivier Cruilles <olivier.cruilles@xxxxxxxx>
References:
WebView object - Event on Link clickOlivier Cruilles <olivier.cruilles@xxxxxxxx>
Re: WebView object - Event on Link clickgbWilly <gbWilly@xxxxxxxxxxxxxx>