Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Problem with the menu
Started by jjrey95 Mar 08 2019 11:13 AM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

jjrey95

[GLOBAL: userInfoPane.html]
jjrey95
  • Observer

  • 11 posts
  • Corona SDK

Hello, I have a problem with the menu and the textfield. when the menu is displayed it covers the entire screen but even so the textfields are still available and can be written, I would like every time I call "menu" the textfield will disappear. It should be added that the "menu" program is in a separate file and I simply call it.



[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 582 posts
  • Corona SDK

This'll be my only post to this particular thread, but again, please post code of what you are doing.

I have no ideas as to what you are doing and what a menu specifically means in your project. That being said, some things that you may be able to do include things like: adding a touch listener to the menu's background and make sure that the associated function ends with "return true" so that the user can't press through it, you can also remove the text fields, set them invisible, etc.

If you want to call the menu from a separate file, you may want to look into overlay scenes.

Still, based on your posts, I would really recommend that you get acquainted with basics of Corona. You can find a series of good tutorials and sample code/apps at https://docs.coronalabs.com/tutorial/



[TOPIC: post.html]
#3

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,373 posts
  • Enterprise

Thanks for posting this here. It would be really beneficial if you read this post, then go back and re-ask your question.

 

https://forums.coronalabs.com/topic/55780-ask-a-better-question-get-a-better-answer/

 

Rob




[topic_controls]
[/topic_controls]