I’d like to specify a listener for a picker wheel and then have it fire off a “settled” event whenever a column settles on a value.
Spin the wheel and when it stops, fire off the event so I can do something like this:
[lua]local function pickerEvent(e)
if e.phase == “settled” then
if e.column == 1 then
– do something based on e.target.col1.value
elseif e.column == 2 then
– do something based on e.target.col2.value
end
end
end[/lua]
Settled may not be the right word, but knowing when the picker wheel stopped on something could be very helpful.
The workaround right now is to have a timer check every X millisecs to see if the value has changed. It would be very nice if that was handled for us behind the scenes.
Thanks.
Jay
[import]uid: 9440 topic_id: 14499 reply_id: 314499[/import]