something similar to the PickerWheel

Is there a widget similar to the pickerwheel but can be horizontal and images instead of the text  ?

If there isn’t, then I will have to do it myself right ?

What functions/events will I have to use to make it myself ?

Also 2 other questions

How can I detect whenever a user have pressed the menu button on his phone?

How can I calculate the center of the screen ?

Hi @andrew_wahid,

Just FYI, you’re likely to get better help in the forums if you ask about one issue in a post, instead of multiple things. While some developers will be willing to help you on all points, it’s best to ask specific and detailed questions.

As for your main question, the closest thing to a “horizontal picker” would be a combination of individual scrollViews, one atop the next. See the documentation here:

https://docs.coronalabs.com/api/library/widget/newScrollView.html

Best regards,

Brent

What do you mean by adding a combination of scrollViews ont atop the other ?

I tried adding couple of pictures inside just one scrollView but the limit of the scrollView cannot display more than one…

I appreciate it if you show me an example…

Hi @andrew_wahid,

Please experiment with the scrollView more until you understand how to populate it with more “content”. Once you understand that, you can work on implementing your overall goal.

Brent

You might want to consider this tutorial:

https://coronalabs.com/blog/2014/08/19/tutorial-building-a-sliding-menu/

It will get you started.

Rob

Hi @andrew_wahid,

Just FYI, you’re likely to get better help in the forums if you ask about one issue in a post, instead of multiple things. While some developers will be willing to help you on all points, it’s best to ask specific and detailed questions.

As for your main question, the closest thing to a “horizontal picker” would be a combination of individual scrollViews, one atop the next. See the documentation here:

https://docs.coronalabs.com/api/library/widget/newScrollView.html

Best regards,

Brent

What do you mean by adding a combination of scrollViews ont atop the other ?

I tried adding couple of pictures inside just one scrollView but the limit of the scrollView cannot display more than one…

I appreciate it if you show me an example…

Hi @andrew_wahid,

Please experiment with the scrollView more until you understand how to populate it with more “content”. Once you understand that, you can work on implementing your overall goal.

Brent

You might want to consider this tutorial:

https://coronalabs.com/blog/2014/08/19/tutorial-building-a-sliding-menu/

It will get you started.

Rob