Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

How do I navigate to another tab window programmatically?

Hi

Lets say I have 3 tabs and 3 windows.
How do I programmatically navigate from one tab window to another without create new windows like

var win = Titanium.UI.createWindow() function and then open it?

Thanks!

— asked March 22nd 2010 by Peter Lum
  • between
  • navigate
  • tab
  • windows
0 Comments

6 Answers

  • Assumming that you've already created the windows and added them to the tab group then you can use

    tabGroup.setActiveTab(tabGroup.tabs[1])

    — answered March 22nd 2010 by Phi Chong
    permalink
    0 Comments
  • Assumming that you've already created the windows and added them to the tab group then you can use

    tabGroup.setActiveTab(tabGroup.tabs[1])

    — answered March 22nd 2010 by Phi Chong
    permalink
    0 Comments
  • Tried but doesn't seem to work. I did it but it doesn't do anything..

    There were no errors but it did not navigate to another window…

    Did I do something wrong?

    — answered March 22nd 2010 by Peter Lum
    permalink
    0 Comments
  • I am having a similar issue, could it possibly be to do with Android, as several features dont work in Android, can we confirm whether this is right or not. Or did you manage to solve it?

    — answered April 9th 2010 by Dan Duke
    permalink
    0 Comments
  • This worked for me with Titanium SDK 1.7.5 on an iPhone. However, this method does not seem to be listed in the current API documentation under Titanium.UI.

    — answered February 1st 2012 by Greg Burdett
    permalink
    0 Comments
  • I tried but it doesn't do anything. There were no errors but it just does not have a response.
    I am using Titanium SDK 1.0. Does it make a difference?

    — answered March 22nd 2010 by Peter Lum
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.