开发者

Titanium Active Tab Issue

Built in Appcelerator

I am not sure if this is a bug or just bad code however, I have 5 tabs. The 5th window hides the tabgroup.

I have a on click event on the 5th window to set the active tab to the 2nd (index 1)

What's happening is, it's switching to the correct tab, but if I press another button开发者_如何学JAVA both stay highlighted. One has the block around it the other just the icon is blue.

Any Ideas?

Code Used:

tabGroup.setActiveTab(1);


Have you tried:

tabGroup.setActiveTab(tab1);//tab1 is the tab has index = 1
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜