简体   繁体   English

Flex TabBar拖放

[英]Flex TabBar drag drop

I'm trying to implement drag and drop tabs in TabBar control, but I can't figure out the index of a tab to drop. 我正在尝试在TabBar控件中实现拖放选项卡,但无法弄清楚要拖放的选项卡的索引。 I tried to use getObjectsUnderPoint() method but it didn't help me. 我尝试使用getObjectsUnderPoint()方法,但对我没有帮助。 I need some implementation how to find a tab to drop. 我需要一些实现如何找到要删除的标签。

Why not use flexlib's SuperTabBar? 为什么不使用flexlib的SuperTabBar? It implements drag-n-drop perfectly. 它完美实现了拖放功能。

http://flexlib.googlecode.com/svn/trunk/examples/SuperTabNavigator_Sample.swf http://flexlib.googlecode.com/svn/trunk/examples/SuperTabNavigator_Sample.swf

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM