in c# you define the forms as classes, then you initialize the form and call its show() method, and it displays the form. then when you click on, say, a button, you initialize another form, and call its show() method. now you have two forms, you can keep both open, or you may close or hide the other.
I think your biggest confusion not comes from forms but from the non-object oriented structure of the lua.
lua is a prototype based language, and there are no classes. which means, it is not object oriented in real.
however, because of its simple and flexible structure, you can “simulate” object oriented methodology using, tables.
first, please check : http://developer.anscamobile.com/code/object-oriented-sample-game-framework
this is just one way to implement object oriented structure. there are other ways, just search google for something like “how to implement classes in lua”.
second, check http://developer.anscamobile.com/code/director-class-10
this user-created library makes it easier to create multiscreen applications.
yesterday some other user released an alternative to director you may want to check it too : http://developer.anscamobile.com/code/scenemanager
the above just shows how people solve their problems. you may want to use them or develop your own solution.
for maximum freedom, and maximum reusability of your own code, you may want to create your own simple yet personal framework. because for now, corona does not define a structured and standard way to create multiscreen/multiview applications. [import]uid: 46529 topic_id: 14391 reply_id: 53235[/import]