set picker node

Jul 26, 2010 at 10:41 PM

Hi,

 

is there a way to set the picker node via a method?

This is my problem: I have got an input device other than the touch screen of my Touch HD, for example something similar to a mouse wheel. With this, I want to set the node of a picker. For example if i turn the wheel one tick forwards, I want to turn the picker one node up (or down...). Is there a way to do this? I tried several things with the picker I defined (I used the PickerDemo for this purpose and changed some minor things), but nothing worked. The listener for the input events of the wheel is not the problem, I sure that it works the way it should.

 

Cheers,

Jan

Coordinator
Jul 27, 2010 at 6:38 PM

You can use the SetNodeIndex animated.

Jul 27, 2010 at 9:29 PM

Hi Tom,

 

thanks for your reply, now it's working. I thought that I used this method before, but apparently I did not. So, thanks again for your help and your great work!

 

Cheers,

Jan