[Lazarus] Mouse wheel problem

Vojtěch Čihák vojtech.cihak at atlas.cz
Wed Sep 19 13:36:00 CEST 2018


Hi, I tested with Lazarus 2.1.0 r59059M FPC 3.3.1 x86_64-linux-qt, Qt 4.8.7 & libQt4pas 5.2.5, Qt 5.11.1 & libQt5pas 2.6.r57057-1, GTk 2.24.32
 
V.
______________________________________________________________
> Od: "Fabio Luis Girardi" <fluisgirardi at gmail.com>
> Komu: "Vojtěch Čihák" <vojtech.cihak at atlas.cz>
> Datum: 19.09.2018 12:49
> Předmět: Re: [Lazarus] Mouse wheel problem
>
What's your version of Lazarus and OS (including QT versions)?
Em Ter, 18 de set de 2018 17:03, Vojtěch Čihák <vojtech.cihak at atlas.cz <vojtech.cihak at atlas.cz>> escreveu:Here the "Handled" trick works well for Qt4 and Qt5, no matter if the ItemIndex is -1 or >=0 or if the Combo is focused or not. Problem remains with GTk2 only. 
 
V.
______________________________________________________________
 > Od: "Fabio Luis Girardi" <fluisgirardi at gmail.com <fluisgirardi at gmail.com>>
 > Komu: "Vojtěch Čihák" <vojtech.cihak at atlas.cz <vojtech.cihak at atlas.cz>>
 > Datum: 18.09.2018 20:37
 > Předmět: Re: [Lazarus] Mouse wheel problem
 >
Hi!Even using this event, if the combobox selection is changed one time (ItemIndex<>-1), the mouse wheel will change the selection if the mouse cursor is over the combobox.I tried to modify the qt widget, but no success. Appears to be an LCL issue, since QT docs says to change the focus police to QtStrongFocus to solve this problem (I don't find the fix for GTK2) The best regards,Fabio
 
 PascalSCADA Project
 http://sourceforge.net/projects/pascalscada <http://sourceforge.net/projects/pascalscada>
 http://www.pascalscada.com <http://www.pascalscada.com>
 
 ----------
 
 -- 
 _______________________________________________
 Lazarus mailing list
 Lazarus at lists.lazarus-ide.org <Lazarus at lists.lazarus-ide.org>
 https://lists.lazarus-ide.org/listinfo/lazarus <https://lists.lazarus-ide.org/listinfo/lazarus>
-- 
The best regards,
 
 Fabio Luis Girardi
 PascalSCADA Project
 http://sourceforge.net/projects/pascalscada <http://sourceforge.net/projects/pascalscada>
 http://www.pascalscada.com <http://www.pascalscada.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180919/0cb56122/attachment.html>


More information about the Lazarus mailing list