cancel
Showing results for 
Search instead for 
Did you mean: 

Callback example for Scroll Wheel

KKark
Associate II

Is there an example of how to specify and use the callback ​functions for the Scroll Wheel? And how can I get the currently selected item, if not via the callback. I found getSelectedItem() in the documentation, but it seems to be protected.

2 REPLIES 2
KKark
Associate II

​I found a solution on to the problem with calling getSelectedItem(). I created a method inside the user defined ScrollWheel code to get the selected item from the base class.

Martin KJELDSEN
Chief III

Hi @KKark​,

Glad you found a solution :) Sometimes creating your own specialized version is the way to go.

Best regards,

Martin