[Gambas-user] TableView Editor focus confused

Fabien Bodard gambas.fr at gmail.com
Thu May 23 09:56:52 CEST 2019


So this a bug in the gb gtk compnents...

Le jeu. 23 mai 2019 09:44, Rolf-Werner Eilert <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>> 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>>> 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 ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190523/a49728cc/attachment.html>


More information about the User mailing list