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
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
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
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