[Gambas-user] A question about WebView

Jorge Carrión shordi at ...626...
Fri Oct 14 17:25:28 CEST 2016


Well... I think that I've found a workaround only with gambas. (It's a
little tricky but it works),

Thank you for the answers.

Best Regards

2016-10-14 15:03 GMT+02:00 Moviga Technologies <moviga at ...3488...>:

> There might be a way to do it with Gambas, but you can use javascript's
> preventDefault()
>
> http://www.w3schools.com/jsref/event_preventdefault.asp
>
>
> Den 14. okt. 2016 12:15, skrev Jorge Carrión:
> > I'm trying to do a control like textEdit, but allowing with links and
> > images, based on webBrowser example.
> >
> > All is done and works fine, but if I create a link (<a href.. etc) and I
> > click on it the webview, naturally, follows the link and I loose all the
> > changes on the page.
> >
> > I want prevent that behaviour in the way that if user clik on a link and
> > the editable property is true, the webview doesn't follow the link.
> >
> > Hope this will be more clear.
> >
> > Best Regards
> >
> > 2016-10-14 11:39 GMT+02:00 Gianluigi <bagonergi at ...626...>:
> >
> >> Hello Jorge,
> >> I do not understand the question, could you be more specific?
> >> Thank you
> >> Gianluigi
> >>
> >> 2016-10-13 18:29 GMT+02:00 Jorge Carrión <shordi at ...626...>:
> >>
> >>> Is there a way to stop the follow of links in webview when webview is
> in
> >>> "edit mode" (editable=true)?
> >>>
> >>> Best Regards
> >>> ------------------------------------------------------------
> >>> ------------------
> >>> Check out the vibrant tech community on one of the world's most
> >>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> >>> _______________________________________________
> >>> Gambas-user mailing list
> >>> Gambas-user at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>
> >> ------------------------------------------------------------
> >> ------------------
> >> Check out the vibrant tech community on one of the world's most
> >> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> > ------------------------------------------------------------
> ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list