[Gambas-user] GTK versus QT
Philippe Valarcher
philippe.valarcher at free.fr
Thu Feb 23 21:42:36 CET 2023
Le jeudi 23 février 2023 à 14:12 +0100, Gianluigi a écrit :
> Il 23/02/23 12:51, Philippe Valarcher ha scritto:
> > I have a concern on a small program, with the component GB.QT The
> > Form_Keypress works well and does what I ask him when with GB.GTK
> > or
> > even GB.GTK3 The keyboard entry takes only the last figure, The
> > concatenation of the figures is not done (we can check it by doing
> > a
> > simple operation of the 11+1 style, under GTK it gives = 2 while
> > under
> > QT it gives = 12.
> > There is certainly a way to turn around but I have not yet found.
> > I attach a text file with the incriminated procedures as well as
> > the
> > 47 version (under GB.GTK).
> >
> > Thank you for your help.
> >
>
> Hi,
>
> I believe the malfunction is caused by the Public Sub Form_KeyPress()
> which does fewer reads with QT than with GTK and GTK3
>
> Regards
>
> Gianluigi
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
I have a stupid bypass linked to GTK, I added this:
tbAFFIchage.setFocus(), in all places likely to modify the tbAffichage
field focus and it works. Thank you for your help.
--
Philippe Valarcher <philippe.valarcher at free.fr>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20230223/41f75f90/attachment-0001.htm>
More information about the User
mailing list