For B4J:
1. Is it possible to hide an existing form before opening a new form? I don't mean closing a form but "hiding" it until some later time when you want to "unhide" it.
2. How do you "pass" data between forms without using globals?
3. I am currently creating a new code module for each form, with a "show" method (like in the Threepages example at https://www.b4x.com/android/forum/threads/getting-started-examples.57537/#content )
This allows me to do FormCodeModuleName.Show to display the new form. I like this because it keeps each form's code separate, but is there any disadvantage to this approach?
4. It's a general question but what is a suggested way to handle communication between different forms & main? For example, having a reusable "login" dialog that can be called from different modules/main and returns username & password that were entered?
5. Is there a "real life" example of such code that anyone could share? (Sometimes it's the simple things that give me problems...)
thanks
1. Is it possible to hide an existing form before opening a new form? I don't mean closing a form but "hiding" it until some later time when you want to "unhide" it.
2. How do you "pass" data between forms without using globals?
3. I am currently creating a new code module for each form, with a "show" method (like in the Threepages example at https://www.b4x.com/android/forum/threads/getting-started-examples.57537/#content )
This allows me to do FormCodeModuleName.Show to display the new form. I like this because it keeps each form's code separate, but is there any disadvantage to this approach?
4. It's a general question but what is a suggested way to handle communication between different forms & main? For example, having a reusable "login" dialog that can be called from different modules/main and returns username & password that were entered?
5. Is there a "real life" example of such code that anyone could share? (Sometimes it's the simple things that give me problems...)
thanks