[Gambas-user] TableView Editor focus confused

Gianluigi bagonergi at gmail.com
Wed May 22 13:06:18 CEST 2019


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> 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>> 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 ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190522/8dbdc6c7/attachment.html>


More information about the User mailing list