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.E
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 funct
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.
>
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 Proces
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
> l
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
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 on
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
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 M
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 to
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 don
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.SetFoc
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 web
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
-
14 matches
Mail list logo