Flex: TextInput 监听回车事件

Categories: Flex; Tagged with: ; @ November 13th, 2009 21:12

有时候需要监听TextInput的回车按下事件, 以直接进行某操作.

可使用FlexEvent.ENTER如:

_textKeywords.addEventListener(FlexEvent.ENTER, onTextKeyWordsEnterPressed);



// Proudly powered by Apache, PHP, MySQL, WordPress, Bootstrap, etc,.