Hi @AppOwlDev,
Well, there are two ways I can think to achieve this: one being fairly intensive, the other using a little simple trickery.
-
Dig into the widget library (which is open source) and add a new function that detects tapping on the row. This would be the superior method, but unless you’re familiar with the widget library and have tinkered with its mechanics before, you might get in too deep.
-
Place an invisible but touch-sensitive (.isHitTestable=true) vector rectangle (display.newRect()) exactly over the middle row of the picker. Add a “tap” listener to it (not “touch”) and then, in that handling function, be sure to not"return true" so that the tap can still propagate through to the picker itself. On this event, you know that the user tapped on the middle row (or so it appears to the user) and then you can use the typical :getValues() call on the picker to gather the info from the currently selected row.
Hope this helps,
Brent