[Gambas-user] TableView Editor focus confused

Gianluigi bagonergi at gmail.com
Wed May 29 17:40:31 CEST 2019


First one taught me is Tobias Boege, Gambas with qt libraries works better.
The same Gambas IDE is based on the qt libraries.
gb.gui is a switch and if you have for example the Gnome desktop, Gambas
uses GTK libraries.
gb.gui.qt is a switch for libraries qt4 and qt5.
In order to change (by ticking) the component of graphic libraries you must
first uncheck the component currently in use.

Regards
Gianluigi

Il giorno mer 29 mag 2019 alle ore 16:46 Rolf-Werner Eilert <
rwe-sse at osnanet.de> ha scritto:

> Hm!
>
> Oh, I understand... without gb.gui.qt, yes, ok :)
>
> Regards
> Rolf
>
> Am 29.05.19 um 16:15 schrieb Gianluigi:
> > Your program (testtableview) works well here, also with gb.qt4 &
> gb.qt4.ext.
> >
> > Regards
> > Gianluigi
> >
> > Il giorno mer 29 mag 2019 alle ore 15:53 Rolf-Werner Eilert
> > <rwe-sse at osnanet.de <mailto:rwe-sse at osnanet.de>> ha scritto:
> >
> >     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>
> >      >> <mailto: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>>
> >      >>     <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:
> >      >>      >
> >      >>      >     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>>>
> >      >>      >     <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 <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 ]----
> >      >
> >      >
> >
> >
> >     ----[ 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/20190529/cd306450/attachment-0001.html>


More information about the User mailing list