I'm afraid that my Javascript abilities are too limited. I Just tried to manage with webview.eval(documment.execcommand ... ) but without success...
Thanks for the answer... The project has been rejected for mailing list 1,5mb (too big may be)? Best Regards 2016-12-07 11:12 GMT+01:00 Benoît Minisini <gam...@users.sourceforge.net>: > Le 07/12/2016 à 11:08, Jorge Carrión a écrit : > > Gianluigi > > > > I've tried, but doesn't work. The webview doesn't seem respond to > > setfocus() after the spelling... so, the desktop.sendkeys doesn't work on > > it. > > I'm doing a control compound of a exported class, and a form with a > webview > > and a toolbar inside. When I push te spelling button the work is done > > (higlighting the wrongs words) but I'm not able to return the focus on > the > > webview. > > I suppouse thar I'm missing something... but can't figure what is it. I > > give up yet in doing the spelling while writing (keyrelease event) > because > > the same issue of return the keyboard cursor at the origin point. I'm > > resigned to do it only with a button... and the user must do a click on > > webview to return the focus on it... > > > > > > > > *(I attach the source code (at the moment only spell spanish) so you can > > see what I'm trying to do.)* > > > > *Sorry the message with the attached project has been rejected by the > list. > > No attached, then... * > > > > Best Regards > > > > Did you try to exec javascript inside the WebView to give the focus to > the web page? > > -- > Benoît Minisini > > ------------------------------------------------------------ > ------------------ > Developer Access Program for Intel Xeon Phi Processors > Access to Intel Xeon Phi processor-based developer platforms. > With one year of Intel Parallel Studio XE. > Training and support from Colfax. > Order your platform today.http://sdm.link/xeonphi > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user