[Gambas-user] Set cursor position on a webview editable.

d4t4full at ...626... d4t4full at ...626...
Wed Dec 7 22:53:43 CET 2016


I was just curious about the use of CTRL-RIGHT instead of CTRL-END. The latter normally takes the cursor to the end of the text, while the former just skips a word at a time. One of the examples in this thread splitted the text at spaces and then skipped one word at a time in a FOR loop instead of jumping right through to the end.

I thought that what the original poster wanted was getting to the text end, not the current word's end.

Just my two cents, maybe I did not fully understood the issue at hand, sorry if that's the case.

Regards,
zxMarce.

On Dec 7, 2016, 16:21, at 16:21, Gianluigi <bagonergi at ...626...> wrote:
>Just for information, if you add "Me.SetFocus" as well:
>    ...
>    Dec Application.Busy
>    Me.SetFocus
>    hwebView.SetFocus
>    Desktop.SendKeys("{[Control_L][Right]}")
>    ...
>
>SendKeys works.
>
>Regards
>Gianluigi
>
>2016-12-07 17:42 GMT+01:00 Jorge Carrión <shordi at ...626...>:
>
>> Anohter try. This time containing only de (spanish) words beginning
>on "A"
>>
>>
>> 2016-12-07 14:53 GMT+01:00 Fabien Bodard <gambas.fr at ...626...>:
>>
>> > 2016-12-07 12:22 GMT+01:00 Jorge Carrión <shordi at ...626...>:
>> > > 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)?
>> >
>> > Too big for sure :-)
>> >
>> > ------------------------------------------------------------
>> > ------------------
>> > 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
>> >
>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>>
>>
>------------------------------------------------------------------------------
>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



More information about the User mailing list