[Gambas-user] TableView Editor focus confused

Rolf-Werner Eilert rwe-sse at osnanet.de
Wed May 22 10:37:24 CEST 2019

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testtableview-0.0.1.tar.gz
Type: application/gzip
Size: 12546 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190522/d17b3ce8/attachment.gz>

More information about the User mailing list