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.
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/
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
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/
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