[Gambas-user] Set cursor position on a webview editable.
Jorge Carrión
shordi at ...626...
Thu Dec 8 14:42:10 CET 2016
Hi:
Gianluigi, your "me.setfocus / webview.setfocus/desktop.sendey", works!
thanks a lot.
But this seem a little "tricky". I like to the work with JavaScript because
that would the way of spelling "at the fly" as the user types.
I've follow the Moviga advices and found some functions that do the work...
with editing objects of the html.
I attach here a little project that shows wat I mean. It works with a
textArea, but doesn't work out of it.
I hope Moviga or any other member of the list could help with this Issue.
Best Regards
2016-12-08 10:58 GMT+01:00 Moviga Technologies <moviga at ...3488...>:
> Google this: javascript move caret
>
> or
>
> javascript move text cursor
>
> There should be a lot of examples that you can modify to suit your case.
> Use the .Eval() function.
>
> ------------------------------------------------------------
> ------------------
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
-------------- next part --------------
Hi:
Gianluigi, your "me.setfocus / webview.setfocus/desktop.sendey", works!
thanks a lot.
But this seem a little "tricky". I like to the work with JavaScript because
that would the way of spelling "at the fly" as the user types.
I've follow the Moviga advices and found some functions that do the work...
with editing objects of the html.
I attach here a little project that shows wat I mean. It works with a
textArea, but doesn't work out of it.
[cid:ii_iwgeuosq0_158dea968a358180]
â
I hope Moviga or any other member of the list could help with this Issue.
Best Regards
2016-12-08 10:58 GMT+01:00 Moviga Technologies <[1]moviga at ...3488...>:
Google this: javascript move caret
or
javascript move text cursor
There should be a lot of examples that you can modify to suit your case.
Use the .Eval() function.
------------------------------------------------------------
------------------
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.[2]http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[3]Gambas-user at lists.sourceforge.net
[4]https://lists.sourceforge.net/lists/listinfo/gambas-user
References
1. mailto:moviga at ...3488...
2. http://sdm.link/xeonphi
3. mailto:Gambas-user at lists.sourceforge.net
4. https://lists.sourceforge.net/lists/listinfo/gambas-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movingcursor.png
Type: image/png
Size: 13813 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20161208/d4820632/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webviewTest-0.0.1.tar.gz
Type: application/x-gzip
Size: 12155 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20161208/d4820632/attachment.bin>
More information about the User
mailing list