2012-04-21 202 views
0

我絕對想知道,在Flex Datagrid中如果按下Enter鍵,停止傳播併發送一個僞造的Tab事件。Flex鍵盤事件

任何寶貴意見, Thankxx

回答

0

嘗試

if(event.keyCode == Keyboard.ENTER){ 
    event.stopPropagation(); 
    yourTarget.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_DOWN, true, false, 0, 9)); 
}