开发者

getNextFocusManagerComponent() does not return previous component in Flex

I encounter problems while trying to employ focusManager.getNextFocusManagerComponent method. This method awaits optional argument, as follows:

x.managers.IFocusManager.getNextFocusManagerComponent(backward:Boolean=false):IFocusManagerComponent

The problem is that no matter if i put true or false, the function always returns the reference to the next component in the focus loop - passing true I expected it to return the previous component.

var prev:Object = focusManager.getNextFocusManagerComponent(true);
va开发者_开发知识库r next:Object = focusManager.getNextFocusManagerComponent(false);
// next == prev

I use Flex SDK 3.3.

Thank you for any ideas.

Rafal

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜