[Gambas-user] combobox no longer scrolls with the mousewheel

Benoît Minisini benoit.minisini at gambas-basic.org
Sun Oct 8 19:17:40 CEST 2023


Le 08/10/2023 à 04:10, T Lee Davidson a écrit :
> On 10/7/23 18:24, Benoît Minisini wrote:
>> So I don't know what to do.
> 
> If the MouseWheel event fired before both the Click and the Change 
> events, and if the MouseWheel event could be made stoppable, that may be 
> a solution.
> 
> Another possible solution may be what Jussi suggested; making disabling 
> the MouseWheel on read-write ComboBoxes optional.
> 
> 

OK, here is what I did:

- Mouse wheel events are taken into account in all modes again.

- But now these events can be catched and stopped in the ComboBox 
MouseWheel event handler, so that you can disable the default behaviour 
if you need.

Regards,

-- 
Benoît Minisini.



More information about the User mailing list