Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-495] setting active tab does not work on app startup

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:53:17.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.3.0
ComponentsiOS
Labelsios, iphone, tabgroup
ReporterNolan Wright
AssigneeJeff Haynie
Created2011-04-15T02:30:18.000+0000
Updated2011-04-17T01:53:17.000+0000

Description

You should be able to do both:

1) in the tab constructor set active:true - and this will be the active tab on startup. If a tab defined after this tab also has active:true, then it will be the active tab

2) tabGroup.setActiveTab(x) should also work before tabGroup.open is called

Comments

  1. Jeff Haynie 2011-04-15

    (from [d2e8549e28ea9df27f9c4c95f84e525bb4335d9f]) Closes #495 http://github.com/appcelerator/titanium_mobile/commit/d2e8549e28ea9df27f9c4c95f84e525bb4335d9f"> http://github.com/appcelerator/titanium_mobile/commit/d2e8549e28ea9...

  2. Jeff Haynie 2011-04-15

    (from [eaa0ea3b31a2405029c9945f596b8d3f34cc23c9]) Closes #495 http://github.com/appcelerator/titanium_mobile/commit/eaa0ea3b31a2405029c9945f596b8d3f34cc23c9"> http://github.com/appcelerator/titanium_mobile/commit/eaa0ea3b31a24...

JSON Source