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" <[email protected]> Komu: "Vojtěch Čihák" <[email protected]> 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 <[email protected] <[email protected]>> 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" <[email protected] <[email protected]>> > Komu: "Vojtěch Čihák" <[email protected] <[email protected]>> > 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 [email protected] <[email protected]> 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>
-- _______________________________________________ Lazarus mailing list [email protected] https://lists.lazarus-ide.org/listinfo/lazarus
