Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

widget picker wheel
Started by brian85 Dec 17 2019 07:47 PM

1 reply to this topic
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 1 posts
  • Corona SDK

Hello all,


I'm attempting to use the widget.newPickerWheel but am having some difficulties understanding how to use it properly. I got it to show up and I get events in the 'onValueSelected' callback, but how do I determine if an item is actually selected or the user is just scrolling. I get the event when the user stops for a second on any item even if they are just looking for the item to select.


Should I be putting this control on another popup window with an 'ok' / 'cancel' buttons?


Thank you


[TOPIC: post.html]

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,675 posts
  • Enterprise

Welcome to the forums!


On iOS, there is usually a "Done" button. If you have a button like that, you can call one of the widget.newPickerWheel's methods to get the values.




Also tagged with one or more of these keywords: widget