overriding keyDownHandler worked.. but looks like it worked only for
the first time.. following is what I mean..

hit ctrl-c.. i was able to capture the selected data on tree
hit ctrl-v.. doesnt hit the breakpoint(in the first line) of
keyDownHandler.. in fact none of the keydowns seem to be handled..

is something that would have run in case of default keyDown handling
preventing the future keydowns from being captured?

--- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Call stopImmediatePropagation, or override keyDownHandler and don't call
> super, or override findString
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of benoit.kogut
> Sent: Thursday, November 22, 2007 8:36 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Tree : disable "select as you type"
> 
>  
> 
> Hello,
> Is there a way to disable the select as you type feature of the Tree
> component ?
> 
> I'm trying to add keyboard shortcuts (Cut / Copy / Paste) on a tree,
> using the keyDown event. As soon as I hit the 'c' key (for instance)
> the first node whose label begins with a 'c' gets selected : the
> selection jumps from one node to another, which is weird.
>


Reply via email to