I have a form app that has many functionalities.
I pass a global to the app from the menu to let the app know what the functionalities should be
This works fine until I open more than 1 menu item at a time
When i open menu item 1, it opens the app with the correct functionality based on the global
When i open menu item 2, it opens the app also with its correct functionality based on the global
however since they are both open at the same time, when I click back on the already open app with Global 1, it now has the functionality of the LAST app I opened, because the global has not changed.
I have options, but not great
- Dont allow more than 1 app open at a time.
- Inform the user to close the first app, however I dont know how to recognize. that it is open
- duplicate the code and create a copy of each app with its dedicated functionalities. This would be a hassle if I need to make changes
Anyone have ideas how to make this work?
Lew