Valeu cara
Muito obrigado
2010/2/16 RafaelViana
> No DataGrid, você escuta o event keyDown:
>
> keyDown="onKeyDown(event)"/>
>
> E na função voce vai verificar se a tecla foi o DELETE
>
> private function onKeyDown(event:KeyboardEvent):void{
>
>if(event.keyCode == Keyboard.DELETE){
No DataGrid, você escuta o event keyDown:
E na função voce vai verificar se a tecla foi o DELETE
private function onKeyDown(event:KeyboardEvent):void{
if(event.keyCode == Keyboard.DELETE){
//aqui posso fazer qualquer coisa quando apertar
delete
}
}
On 16