LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scrollbar in combo box is not working when mouse is inside combo box and is working when mouse is outside combo box.

Solved!
Go to solution

Scrollbar in combo box is not working when mouse is inside combo box and is working when cursor / mouse is outside combo box.

 

It is exactly opposite in case of multi column listbox. Mouse scroll is working when cursor is inside multi column listboxbut it doesn't work when cursor is outside.

 

Can you please provide workaround or solution so that it will scroll when mouse is inside combo box as well.

0 Kudos
Message 1 of 5
(5,149 Views)

@Amit_Amrutkar88 wrote:

Scrollbar in combo box is not working when mouse is inside combo box and is working when cursor / mouse is outside combo box.

 

It is exactly opposite in case of multi column listbox. Mouse scroll is working when cursor is inside multi column listboxbut it doesn't work when cursor is outside.

 

Can you please provide workaround or solution so that it will scroll when

 

mouse is inside combo box as well.


I am using LabVIEW 2016 version.

This works in windows 7 and not in windows 10.

I am not sure whether it is bug or functionality is disabled.

0 Kudos
Message 2 of 5
(5,120 Views)

It seems to be a Windows 10, not a LabVIEW 'feature':

https://www.infragistics.com/community/forums/f/ultimate-ui-for-windows-forms/104575/mouse-wheel-scr...

 

There might even be solutions in there ("Scroll inactive windows when I hover over them"?), but I have not tried anything.

0 Kudos
Message 3 of 5
(5,111 Views)

BTW. Scrolling does work when the mouse hovers over the combo box itself while the items are shown. As mentioned in the link, that is the expected behavior. Perhaps that is a workaround: "educate the users"?

 

Not much you can do about it, except programming the behavior yourself (not recommended). Mouse wheel events don't work for the list of items, and the offset can't be set anyway.

0 Kudos
Message 4 of 5
(5,108 Views)
Solution
Accepted by topic author Amit_Amrutkar88

It is happening through enabling smooth scrolling feature in win 10.

Reference:

https://www.groovypost.com/howto/scroll-inactive-background-windows-by+hovering-over-them/ 

https://windowsreport.com/smooth-scrolling-windows-10/

 

Thanks,

Amit Amrutkar

Message 5 of 5
(4,924 Views)