[英]Flex Get the tab Index
我想获取带有ID的标签索引。 我的标签在tabNavigator中。
this.tabid.instanceIndex returns -1
this.tabid.tabIndex returns -1
我是否在选项卡导航器中启用了订单或任何属性来获取选项卡的索引?
要获取TabNavigator的子项的索引,可以使用
myNavigator.getChildIndex(myCanvas2);
这应该映射到其选项卡索引。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.