Update Windows in TabGroup
Hi,
I'm creating an app that uses a tabgroup for automatic navigation. However, when I open up a subwindow, and the back button in the top left hand corner appears, how do I update the original window, if that back button is clicked? Thanks for your help, and please let me know if I'm being clear enough.
3 Answers
-
Please state the mobile platform you are using.
-
iOS 4…sorry
-
As there isn't really much to go on in this question, I can only hazard a guess. However, you could use a custom event to change values of objects in a different context (such as another window). See this post.
Although it may not be relevant to you, custom events attached to views (including windows) do not currently work on android, so you must use a global event by listening to Titanium.App.addEventListener. See this lighthouse ticket for more info on this android-only issue.
Hal
PS Sorry for this duplicate - I just realised this is a possible answer, rather than a comment. :-/