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-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 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] A simple spreadsheet

2016-12-07 Thread Fabien Bodard
2016-12-06 17:30 GMT+01:00 Martin Cristia :
> Fabien, here it goes.

Thank you.

> It should be improved in every way, but works.


Well, to say the truth ... I was hoping better. I have already
produced something much more advanced in the past. Not perfect either
believe me. This time, I will base the solver on the Gambas expression
class. This will have several advantages. First, I will not reinvent
the wheel for many functions already present in gambas (like
mathematical functions), but this system also allows to add functions
and thus to carry certain functions common to the set of standard
spreadsheets. My first job is to create a display component, which is
not based on gridview. GridView is great because adaptable has many
uses. But suddenly it becomes too heavy for the use I want to make of
it. Well I admit that I draw a lot from the code of Benoit too. But I
purify it and add inherent functions to spreadsheets. As the display
of a cellul, the modes and selections by columns and blocks. The code
in the end is lighter but by what it is specialized.



I do not know what will come out of all this but good I would share as
soon as I had a funny thing to test.

I do this while waiting for Benoit to advance on gb.term ...

Although it would also be necessary that I take care of gb.report :-/
... I am an irrecoverable scattered. Too curious certainly.


>
>
> --
> Saludos
>
> Ing. Martin P Cristia
>
>
> --
> 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
>



-- 
Fabien Bodard

--
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] A simple spreadsheet

2016-12-07 Thread Martin Cristia
> Well, to say the truth ... I was hoping better.
for a control? XD
> First, I will not reinvent the wheel
we all are reinventing many wheels here, and having fun in the meantime
> for many functions already present in gambas (like
> mathematical functions), but this system also allows to add functions
> and thus to carry certain functions common to the set of standard
> spreadsheets. My first job is to create a display component, which is
> not based on gridview. GridView is great because adaptable has many
> uses. But suddenly it becomes too heavy for the use I want to make of
> it. Well I admit that I draw a lot from the code of Benoit too. But I
> purify it and add inherent functions to spreadsheets. As the display
> of a cellul, the modes and selections by columns and blocks. The code
> in the end is lighter but by what it is specialized.
>
don't know where are you heading to, but if you need such complexity, is 
not creating an OLE control more productive for everyone?

> ... I am an irrecoverable scattered. Too curious certainly.
we all are!

good luck y friend

-- 
Saludos

Ing. Martin P Cristia


--
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] A simple spreadsheet

2016-12-07 Thread Rolf-Werner Eilert
Fabien, I have followed your discussion and have a question:

 > believe me. This time, I will base the solver on the Gambas expression
> class. This will have several advantages. First, I will not reinvent

Where is this class, and how would I use it?

> spreadsheets. My first job is to create a display component, which is
> not based on gridview. GridView is great because adaptable has many
> uses. But suddenly it becomes too heavy for the use I want to make of
> it. Well I admit that I draw a lot from the code of Benoit too. But I
> purify it and add inherent functions to spreadsheets. As the display
> of a cellul, the modes and selections by columns and blocks. The code
> in the end is lighter but by what it is specialized.

I had a similar case with a list of articles needed which I couldn't 
realize with a common GridView. So I used a graphical thing and painted 
everything myself. It looks very nice, but it was kinda effort to make 
it react to mouse clicks and all that stuff.

Regards
Rolf


--
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] A simple spreadsheet

2016-12-07 Thread Fabien Bodard
2016-12-07 13:30 GMT+01:00 Rolf-Werner Eilert :
> Fabien, I have followed your discussion and have a question:
>
>  > believe me. This time, I will base the solver on the Gambas expression
>> class. This will have several advantages. First, I will not reinvent
>
> Where is this class, and how would I use it?

http://gambas.8142.n7.nabble.com/Custom-expression-evaluator-in-rev-7545-td55155.html
And joined example


>
>> spreadsheets. My first job is to create a display component, which is
>> not based on gridview. GridView is great because adaptable has many
>> uses. But suddenly it becomes too heavy for the use I want to make of
>> it. Well I admit that I draw a lot from the code of Benoit too. But I
>> purify it and add inherent functions to spreadsheets. As the display
>> of a cellul, the modes and selections by columns and blocks. The code
>> in the end is lighter but by what it is specialized.
>
> I had a similar case with a list of articles needed which I couldn't
> realize with a common GridView. So I used a graphical thing and painted
> everything myself. It looks very nice, but it was kinda effort to make
> it react to mouse clicks and all that stuff.

Well i have now a long experience. So these little things are already
resolved ;-)

The big job will be on the resolver.

>
> Regards
> Rolf
>
>
> --
> 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



-- 
Fabien Bodard

--
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] A simple spreadsheet

2016-12-07 Thread Fabien Bodard
This is the example on how to use the gambas Expression class.

2016-12-07 14:30 GMT+01:00 Fabien Bodard :
> 2016-12-07 13:30 GMT+01:00 Rolf-Werner Eilert :
>> Fabien, I have followed your discussion and have a question:
>>
>>  > believe me. This time, I will base the solver on the Gambas expression
>>> class. This will have several advantages. First, I will not reinvent
>>
>> Where is this class, and how would I use it?
>
> http://gambas.8142.n7.nabble.com/Custom-expression-evaluator-in-rev-7545-td55155.html
> And joined example
>
>
>>
>>> spreadsheets. My first job is to create a display component, which is
>>> not based on gridview. GridView is great because adaptable has many
>>> uses. But suddenly it becomes too heavy for the use I want to make of
>>> it. Well I admit that I draw a lot from the code of Benoit too. But I
>>> purify it and add inherent functions to spreadsheets. As the display
>>> of a cellul, the modes and selections by columns and blocks. The code
>>> in the end is lighter but by what it is specialized.
>>
>> I had a similar case with a list of articles needed which I couldn't
>> realize with a common GridView. So I used a graphical thing and painted
>> everything myself. It looks very nice, but it was kinda effort to make
>> it react to mouse clicks and all that stuff.
>
> Well i have now a long experience. So these little things are already
> resolved ;-)
>
> The big job will be on the resolver.
>
>>
>> Regards
>> Rolf
>>
>>
>> --
>> 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
>
>
>
> --
> Fabien Bodard



-- 
Fabien Bodard


DemoInterpreter-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] A simple spreadsheet

2016-12-07 Thread Fabien Bodard
Hi Martin,

2016-12-07 13:00 GMT+01:00 Martin Cristia :
>> Well, to say the truth ... I was hoping better.
> for a control? XD
>> First, I will not reinvent the wheel
> we all are reinventing many wheels here, and having fun in the meantime
True, but this is a huge work to maintain then ... And in the same time we
are not dependent of the too frequent evolution of other tools.



>> for many functions already present in gambas (like
>> mathematical functions), but this system also allows to add functions
>> and thus to carry certain functions common to the set of standard
>> spreadsheets. My first job is to create a display component, which is
>> not based on gridview. GridView is great because adaptable has many
>> uses. But suddenly it becomes too heavy for the use I want to make of
>> it. Well I admit that I draw a lot from the code of Benoit too. But I
>> purify it and add inherent functions to spreadsheets. As the display
>> of a cellul, the modes and selections by columns and blocks. The code
>> in the end is lighter but by what it is specialized.
>>
> don't know where are you heading to, but if you need such complexity, is
> not creating an OLE control more productive for everyone?

Well i just want to explore the hability to make a spreadsheet (one
page) on gambas.
Like we have explored the hability to make an iconview, a gridView, a
mapView, a reportView, a TerminalEmulatorView.

In fact i test my knowledge, improve it and see what fabulous things
we can do with Gambas and it's graphical API.

In fact... really many things. When i've begin the gb.form.term, i
cannot imagine (with a big work of Benoit), we can get a usable
things...
Like i was surprised by the Code editor writed by Benoit. Gambas IDE
is a Damned piece of code. One of the quality of Gambas is it's POO
style
and when you respect a regular API naming covention a great clarity
for the code. SO it give me the taste for recreate everihing i see :-)


I share with you a resolver i've done there is many time.

It's a generic resolver. Well quite powerfull.

Like Expression class now, it allow :

Use of standart math function
Extend to new functions
Use of User defined variable

And was entirely written in Gambas.

For now i would use the Expression class because it is more fast. But
creating this evaluator was a great time :-)





>> ... I am an irrecoverable scattered. Too curious certainly.
> we all are!
>
> good luck y friend
>
> --
> Saludos
>
> Ing. Martin P Cristia
>
>
> --
> 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



-- 
Fabien Bodard


SimpleEval-0.2.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-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] A simple spreadsheet

2016-12-07 Thread Rolf-Werner Eilert
Am 07.12.2016 14:31, schrieb Fabien Bodard:
> This is the example on how to use the gambas Expression class.

Thank you very much, this looks very interesting!

Regards
Rolf

>
> 2016-12-07 14:30 GMT+01:00 Fabien Bodard :
>> 2016-12-07 13:30 GMT+01:00 Rolf-Werner Eilert :
>>> Fabien, I have followed your discussion and have a question:
>>>
>>>   > believe me. This time, I will base the solver on the Gambas expression
 class. This will have several advantages. First, I will not reinvent
>>>
>>> Where is this class, and how would I use it?
>>
>> http://gambas.8142.n7.nabble.com/Custom-expression-evaluator-in-rev-7545-td55155.html
>> And joined example
>>
>>
>>>
 spreadsheets. My first job is to create a display component, which is
 not based on gridview. GridView is great because adaptable has many
 uses. But suddenly it becomes too heavy for the use I want to make of
 it. Well I admit that I draw a lot from the code of Benoit too. But I
 purify it and add inherent functions to spreadsheets. As the display
 of a cellul, the modes and selections by columns and blocks. The code
 in the end is lighter but by what it is specialized.
>>>
>>> I had a similar case with a list of articles needed which I couldn't
>>> realize with a common GridView. So I used a graphical thing and painted
>>> everything myself. It looks very nice, but it was kinda effort to make
>>> it react to mouse clicks and all that stuff.
>>
>> Well i have now a long experience. So these little things are already
>> resolved ;-)
>>
>> The big job will be on the resolver.
>>
>>>
>>> Regards
>>> Rolf
>>>
>>>
>>> --
>>> 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
>>
>>
>>
>> --
>> Fabien Bodard
>
>
>
>
>
> --
> 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 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
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


[Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon)

2016-12-07 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4-

Zainudin AHMAD added an attachment:

pic-1.png



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


[Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon)

2016-12-07 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4-

Zainudin AHMAD reported a new bug.

Summary
---

[gb.form.stock] inconsistent icon (size : 22x22, lock icon)

Type : Bug
Priority : Low
Gambas version   : 3.9.90 (TRUNK)
Product  : GUI components


Description
---

Inconsistent icon, the lock icon with 22x22 size is different with other size 
(attach pic-1).

Reproduce the Bug :
1) Run project (attach project)

source : 
https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/comp/src/gb.form.stock/stock/22/lock.png


System information
--

[System]
Gambas=3.9.90 r8004
OperatingSystem=Linux
Kernel=4.4.0-28-generic
Architecture=x86
Distribution=Ubuntu 16.04.1 LTS
Desktop=LXQT
Theme=Gtk
Language=en_US.UTF-8
Memory=492M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.802.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.19.0.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
BROWSER=
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-8qXRGsJJ9k,guid=f36c09faab67b7515fff26fd583f4beb
DEFAULTS_PATH=/usr/share/gconf/lxqt.default.path
DESKTOP_SESSION=lxqt
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=lxqt
GDM_LANG=en
GTK_CSD=0
HOME=
LANG=en_US.UTF-8
LANGUAGE=en
LC_ADDRESS=id_ID.UTF-8
LC_IDENTIFICATION=id_ID.UTF-8
LC_MEASUREMENT=id_ID.UTF-8
LC_MONETARY=id_ID.UTF-8
LC_NAME=id_ID.UTF-8
LC_NUMERIC=id_ID.UTF-8
LC_PAPER=id_ID.UTF-8
LC_TELEPHONE=id_ID.UTF-8
LC_TIME=id_ID.UTF-8
LOGNAME=
LXQT_SESSION_CONFIG=session
MANDATORY_PATH=/usr/share/gconf/lxqt.mandatory.path
PAM_KWALLET5_LOGIN=/tmp/kwallet5_.socket
PAPERSIZE=a4
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=
QT_ACCESSIBILITY=1
QT_IM_MODULE=compose
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_PLATFORM_PLUGIN=lxqt
QT_QPA_PLATFORMTHEME=lxqt
SAL_USE_VCLPLUGIN=kde4
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=2313
SSH_AUTH_SOCK=/tmp/ssh-9ueo0Yf1OExy/agent.2258
TERM=qterminal
TZ=:/etc/localtime
USER=
XAUTHORITY=/.Xauthority
XDG_CACHE_HOME=/.cache
XDG_CONFIG_DIRS=/etc/xdg/xdg-lxqt:/etc/xdg
XDG_CONFIG_HOME=/.config
XDG_CURRENT_DESKTOP=LXQt
XDG_DATA_DIRS=/usr/share/lxqt:/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/.local/share:/usr/share
XDG_DATA_HOME=/.local/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/
XDG_MENU_PREFIX=lxqt-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=lxqt
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7



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


[Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon)

2016-12-07 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4-

Zainudin AHMAD added an attachment:

Bug-StockIcon-IncosistenceLockIcon-0.0.1.tar.gz



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


[Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon)

2016-12-07 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4-

Fabien BODARD changed the state of the bug to: Accepted.




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


[Gambas-user] [Gambas Bug Tracker] Bug #1045: [gb.form.stock] inconsistent icon (size : 22x22, lock icon)

2016-12-07 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1045&from=L21haW4-

Comment #1 by Fabien BODARD:

Fixed in revision #8008

Fabien BODARD changed the state of the bug to: Fixed.



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