Re: [Lazarus] Mouse wheel problem

2018-09-27 Thread Fabio Luis Girardi via Lazarus
4.32 > > > > V. > > __ > > Od: "Fabio Luis Girardi" > > Komu: "Vojtěch Čihák" > > Datum: 19.09.2018 12:49 > > Předmět: Re: [Lazarus] Mouse wheel problem > > > What's your version of Lazarus and

Re: [Lazarus] Mouse wheel problem

2018-09-19 Thread Vojtěch Čihák via Lazarus
r if the Combo is focused or not. Problem remains with GTk2 only.    V. __ > Od: "Fabio Luis Girardi" > > Komu: "Vojtěch Čihák" > > Datum: 18.09.2018 20:37 > Předmět: Re: [Lazarus] Mouse wheel proble

Re: [Lazarus] Mouse wheel problem

2018-09-18 Thread Fabio Luis Girardi via Lazarus
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

Re: [Lazarus] Mouse wheel problem

2018-09-18 Thread Vojtěch Čihák via Lazarus
Hi, you can use event   procedure TForm1.ComboBox1MouseWheel(Sender: TObject; Shift: TShiftState; WheelDelta: Integer; MousePos: TPoint;   var Handled: Boolean); begin   Handled:=True; end;    this will not scroll the scrollbox when mouse pointer is over combobox, but ComboBox.ItemIndex will at