added more than 5 rows to pickerwheel and it doesn’t display them. Then when you try to scroll the wheel, it fires loads of errors.
Code is fine in v 1082, so gone back to that for now.
added more than 5 rows to pickerwheel and it doesn’t display them. Then when you try to scroll the wheel, it fires loads of errors.
Code is fine in v 1082, so gone back to that for now.
Hi admin20,
Did run a few tests on 1093, i don’t seem to be able to replicate. It might be an error in your code.
If you think this is a bug, please file a bug report together with a testbed, so that we can look at the way you write the picker wheel code and assist further.
Thanks,
Alex
Hi Alex
Thanks for your reply.
I’ve just downloaded the github widget demo and inserted one line
pickerWheel.scrollToIndex(1,2)
into the ‘showValues’ function, so that we can test the scrollTo function.
Simulator crashes with runtime error “Attempt to index a number value”.
Application Support/Corona Simulator/framework-widgets-sample-master-3146F0668296816FA4801B64DDB9EF76) 2013-04-23 17:04:44.899 Corona Simulator[19502:707] Runtime error ?:0: attempt to index a number value stack traceback: [C]: ? ?: in function 'scrollToIndex' .../SampleCode/framework-widgets-sample-master/tab3.lua:126: in function '\_onRelease' ?: in function '?' ?: in function ?: in function
This is the github code with one extra line running on 1093.
Hi,
You used a dot instead of :
pickerWheel:scrollToIndex(1, 2)
Alex.
sorry, the last post was the answer to thread http://forums.coronalabs.com/topic/33351-widget-2-onoffswitch/#entry173312
which is still an issue.
Have now got the ‘more than 5 rows’ issue working.
Thanks for your help!
thank you Alex - well spotted!
Hi admin20,
Did run a few tests on 1093, i don’t seem to be able to replicate. It might be an error in your code.
If you think this is a bug, please file a bug report together with a testbed, so that we can look at the way you write the picker wheel code and assist further.
Thanks,
Alex
Hi Alex
Thanks for your reply.
I’ve just downloaded the github widget demo and inserted one line
pickerWheel.scrollToIndex(1,2)
into the ‘showValues’ function, so that we can test the scrollTo function.
Simulator crashes with runtime error “Attempt to index a number value”.
Application Support/Corona Simulator/framework-widgets-sample-master-3146F0668296816FA4801B64DDB9EF76) 2013-04-23 17:04:44.899 Corona Simulator[19502:707] Runtime error ?:0: attempt to index a number value stack traceback: [C]: ? ?: in function 'scrollToIndex' .../SampleCode/framework-widgets-sample-master/tab3.lua:126: in function '\_onRelease' ?: in function '?' ?: in function ?: in function
This is the github code with one extra line running on 1093.
Hi,
You used a dot instead of :
pickerWheel:scrollToIndex(1, 2)
Alex.
sorry, the last post was the answer to thread http://forums.coronalabs.com/topic/33351-widget-2-onoffswitch/#entry173312
which is still an issue.
Have now got the ‘more than 5 rows’ issue working.
Thanks for your help!
thank you Alex - well spotted!