开发者

getNextFocusManagerComponent() does not return previous component in Flex

开发者 https://www.devze.com 2023-02-19 00:09 出处:网络
I encounter problems while trying to employ focusManager.getNextFocusManagerComponent method. This method awaits optional argument, as follows:

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

精彩评论

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