Lock ComboBox but enable mouse scroll
Posted: Tue Jan 02, 2018 4:07 pm
Hello,
i want to lock the combobox so user can't change text inside, but i when i lock it the scroling with mouse doesn't work anymore :/
This is my code:
i want to lock the combobox so user can't change text inside, but i when i lock it the scroling with mouse doesn't work anymore :/
This is my code:
Code: Select all
on rawKeyDown theKeyNumber
if theKeyNumber is 65308 then answer down -- mouse wheel down
else if theKeyNumber is 65309 then answer up -- mouse wheel up
else ## -- locks combobox
end if
end rawKeyDown