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

2016-12-08 Thread Jorge Carrión
Well I think I've find a solution (a tricky solution) that works: Add a
"strange string" at the end of html, search it and replace with nothing.

Teh code is something like this:

  WebView1.SetFocus()
  WebView1.html &= "··" 'two "middle points" is something I have no seen in
my life.
  WebView1.Eval("document.execCommand('findString',false,'··')") 'search
and select it...
  WebView1.Eval("document.execCommand('insertText',false,'')") 'and delete
it. The cursor remains at the end of text.

This opens the possibility for me to do the spelling "on the fly" and more
things...
If you know a better way I'll very happy to know it.

Best Regards.



2016-12-08 14:42 GMT+01:00 Jorge Carrión :

> 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 :
>
>> 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@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


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

2016-12-08 Thread Jorge Carrión

   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]mov...@mykolab.ch>:

 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@lists.sourceforge.net
 [4]https://lists.sourceforge.net/lists/listinfo/gambas-user

References

   1. mailto:mov...@mykolab.ch
   2. http://sdm.link/xeonphi
   3. mailto:Gambas-user@lists.sourceforge.net
   4. https://lists.sourceforge.net/lists/listinfo/gambas-user


webviewTest-0.0.1.tar.gz
Description: GNU Zip compressed data
--
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


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

2016-12-08 Thread Gianluigi
Sorry if I'm indiscreet, but a practical example of how you implement it?

Regards
Gianluigi

2016-12-08 10:58 GMT+01:00 Moviga Technologies :

> 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@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


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

2016-12-08 Thread Moviga Technologies
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-12-07 Thread Gianluigi
You are right, but I do not know (I do not understand) if we have to go to
the end of the text or just to the end of the incorrect word.
Mine was just a simple example :-)

Regards
Gianluigi

2016-12-07 22:53 GMT+01:00 :

> 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  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 :
> >
> >> Anohter try. This time containing only de (spanish) words beginning
> >on "A"
> >>
> >>
> >> 2016-12-07 14:53 GMT+01:00 Fabien Bodard :
> >>
> >> > 2016-12-07 12:22 GMT+01:00 Jorge Carrión :
> >> > > 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@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
> >>
> >>
> >---
> ---
> >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
>
--
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


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

2016-12-07 Thread d4t4full
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  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 :
>
>> Anohter try. This time containing only de (spanish) words beginning
>on "A"
>>
>>
>> 2016-12-07 14:53 GMT+01:00 Fabien Bodard :
>>
>> > 2016-12-07 12:22 GMT+01:00 Jorge Carrión :
>> > > 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@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
>>
>>
>--
>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


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

2016-12-07 Thread Gianluigi
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 :

> Anohter try. This time containing only de (spanish) words beginning on "A"
>
>
> 2016-12-07 14:53 GMT+01:00 Fabien Bodard :
>
> > 2016-12-07 12:22 GMT+01:00 Jorge Carrión :
> > > 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@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
>
>
--
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


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

2016-12-07 Thread Fabien Bodard
2016-12-07 12:22 GMT+01:00 Jorge Carrión :
> 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-12-07 Thread Jorge Carrión
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 :

> 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


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

2016-12-07 Thread Benoît Minisini
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


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

2016-12-07 Thread Jorge Carrión
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

2016-12-07 10:51 GMT+01:00 Gianluigi :

> Something like this, about your example on the Spanish forum:
> '-
> Public Sub Button1_Click()
>
>   Dim ar As String[]
>   Dim i As Integer
>
>   ar = Split(WebView1.Text, " ", Null, True)
>   WebView1.html = Replace(WebView1.html, ar[ar.max], " style=\"background-color: rgb(254, 254, 126);\">" & ar[ar.max] & "")
>   WebView1.SetFocus
>   'Aquí el cursor queda al principo del texto. Lo queremos al final
>   Print ar.Max, " words"
>   For i = 0 To ar.Max
> Desktop.SendKeys("{[Control_L][Right]}")
>   Next
>
> End
> '--
>
> Regards
> Gianluigi
>
> 2016-12-06 21:44 GMT+01:00 Gianluigi :
>
> > Have You tried to use Desktop.SendKeys?
> >
> > Regards
> > Gianluigi
> >
> > 2016-12-04 18:06 GMT+01:00 Jorge Carrión :
> >
> >> Hi
> >> I'm doing a spelling checker for a webview. When you write a wrong word
> it
> >> is highlited. That's done, but I can't set the cursor again after the
> >> word.
> >> It always remains at begin of webview text...
> >>
> >> Is it possible to do that?
> >>
> >> 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@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
>
--
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


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

2016-12-07 Thread Gianluigi
Something like this, about your example on the Spanish forum:
'-
Public Sub Button1_Click()

  Dim ar As String[]
  Dim i As Integer

  ar = Split(WebView1.Text, " ", Null, True)
  WebView1.html = Replace(WebView1.html, ar[ar.max], "" & ar[ar.max] & "")
  WebView1.SetFocus
  'Aquí el cursor queda al principo del texto. Lo queremos al final
  Print ar.Max, " words"
  For i = 0 To ar.Max
Desktop.SendKeys("{[Control_L][Right]}")
  Next

End
'--

Regards
Gianluigi

2016-12-06 21:44 GMT+01:00 Gianluigi :

> Have You tried to use Desktop.SendKeys?
>
> Regards
> Gianluigi
>
> 2016-12-04 18:06 GMT+01:00 Jorge Carrión :
>
>> Hi
>> I'm doing a spelling checker for a webview. When you write a wrong word it
>> is highlited. That's done, but I can't set the cursor again after the
>> word.
>> It always remains at begin of webview text...
>>
>> Is it possible to do that?
>>
>> 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@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


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

2016-12-06 Thread Gianluigi
Have You tried to use Desktop.SendKeys?

Regards
Gianluigi

2016-12-04 18:06 GMT+01:00 Jorge Carrión :

> Hi
> I'm doing a spelling checker for a webview. When you write a wrong word it
> is highlited. That's done, but I can't set the cursor again after the word.
> It always remains at begin of webview text...
>
> Is it possible to do that?
>
> 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@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