[Gambas-user] TableView Editor focus confused

Rolf-Werner Eilert rwe-sse at osnanet.de
Wed May 29 15:52:31 CEST 2019


I hope you see this, Gianluigi:

In at least one of my projects where the TableView editor function could 
be applied, I cannot switch neither to gb.gui nor gb.gui.qt because I 
need the editor from gb.qt4 + gb.qt4.ext.

So what now?

Regards
Rolf


Am 27.05.19 um 12:37 schrieb Rolf-Werner Eilert:
> Ok... and do you think it can be easily fixed, or will it take longer? 
> For the latter case it might still make sense to mention it in the docs.
> 
> Regards
> Rolf
> 
> Am 23.05.19 um 09:56 schrieb Fabien Bodard:
>> So this a bug in the gb gtk compnents...
>>
>> Le jeu. 23 mai 2019 09:44, Rolf-Werner Eilert <rwe-sse at osnanet.de 
>> <mailto:rwe-sse at osnanet.de>> a écrit :
>>
>>     Ah, that works indeed! Thanks so much, Gianluigi!
>>
>>     Hm... Shouldn't that be mentioned in the docs?
>>
>>     Regards
>>     Rolf
>>
>>
>>     Am 22.05.19 um 13:06 schrieb Gianluigi:
>>      > If I change from gb.gui (which in Ubuntu means GTK) to 
>> gb.gui.qt in
>>      > Project> Properties ...> Components here with Ubuntu 18.04 and
>>     Gambas
>>      > master, your project works fine.
>>      >
>>      > Regards
>>      > Gianluigi
>>      >
>>      > Il giorno mer 22 mag 2019 alle ore 10:38 Rolf-Werner Eilert
>>      > <rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>
>>     <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>>> ha scritto:
>>      >
>>      >     Am 22.05.19 um 10:04 schrieb Gianluigi:
>>      >      > But do you use this event to save values?
>>      >      >
>>      >
>>      >     Yes, I do :) I mainly use the code from Italy, see the
>>     attached project.
>>      >
>>      >     When you run it, click into a cell and type some letters,
>>     then click on
>>      >     the button. What does the TableView editor do?
>>      >
>>      >      > Public Sub TableView1_Save(Row As Integer, Column As 
>> Integer,
>>      >     Value As
>>      >      > String)
>>      >      > ' It is used to save the written text inside the cells.
>>      >      >
>>      >      >    TableView1[row, column].text = value
>>      >      >
>>      >      > End
>>      >      >
>>      >      > See:
>>      >      > http://gambaswiki.org/wiki/comp/gb.form/tableview/editwith
>>      >      > http://gambaswiki.org/wiki/comp/gb.form/tableview/.save
>>      >      >
>>      >      > Regards
>>      >      > Gianluigi
>>      >      >
>>      >      > Il giorno mer 22 mag 2019 alle ore 08:24 Rolf-Werner Eilert
>>      >      > <rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>
>>     <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>>
>>      >     <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>
>>     <mailto:rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>>>> ha scritto:
>>      >      >
>>      >      >     Hi folks!
>>      >      >
>>      >      >     Now this is an issue with TableView I experienced last
>>     week.
>>      >     When you
>>      >      >     started editing a cell and then click somewhere else
>>     in the
>>      >     program,
>>      >      >     not
>>      >      >     only the focus of the cell gets lost (standard 
>> behaviour),
>>      >     but its
>>      >      >     contents disappeares completely unless you click it 
>> back.
>>      >      >
>>      >      >     But it will only reappear for a second or so and
>>     disappear,
>>      >     only being
>>      >      >     displayed while you move the mouse, while the editor 
>> still
>>      >     keeps going.
>>      >      >
>>      >      >     When issuing a click on any other element in the
>>     program, I would
>>      >      >     expect
>>      >      >     the editor to close editing either like with Return or
>>     Esc.
>>      >      >
>>      >      >     So, did I miss here? Thanks for any input!
>>      >      >
>>      >      >     Regards
>>      >      >     Rolf
>>      >      >
>>      >      >     ----[ Gambas mailing-list is hosted by
>>      > https://www.hostsharing.net ]----
>>      >      >
>>      >      >
>>      >      >
>>      >      > ----[ Gambas mailing-list is hosted by
>>      > https://www.hostsharing.net ]----
>>      >      >
>>      >
>>      >
>>      >     ----[ Gambas mailing-list is hosted by
>>     https://www.hostsharing.net ]----
>>      >
>>      >
>>      >
>>      > ----[ Gambas mailing-list is hosted by
>>     https://www.hostsharing.net ]----
>>      >
>>
>>
>>     ----[ Gambas mailing-list is hosted by https://www.hostsharing.net 
>> ]----
>>
>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
> 
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
> 
> 



More information about the User mailing list