We have applied Theme in the object by using "applytheme()" function in open event of window (Screen A) and It was working as expected.
But without closing the screen A, if we try to open another screen (Screen B) which we have not applied theme but still the Screen B also effected with theme which we were not expected.
We scripted in Close event of Screen A by using “no theme”. After closing the Screen A and open Screen B then during this time theme not applied on screen B. But in normal scenario business user keep opening several screens together in the same session. So, during that time where the screens not having the theme to be applied but it was applied due to the screen A script that was opened along with other screens.
Please not that we have not applied theme in application level for the above cases.
Kindly advise if you have any solution.