New to mobile device development and I have been learning corona and using the sample code that is provided. I have setup an app using the TabBar sample which uses a different .lua file for each tab. I have added a button to one of the tabs and then running into two issues.
-
When I click the button I’m wanting to pull up another screen that will have some text fields for entering data. I have tried pulling up another .lua file similar to the way the tabs work but that is not working. Can I open another .lua file or should my code remove all the buttons and text and create the fields I want?
-
I’m having trouble removing the button. I have tried using display.remove(buttonName) which works when changing tabs but does not work when I call it inside the function that is called when the button is pressed.
If someone has an idea on direction for either of these it would be appreciated.
[import]uid: 97585 topic_id: 17315 reply_id: 317315[/import]