never mind.. i just had to stop the immediate propagation of the event after I finished handling it..
--- In [email protected], "chicanery99" <[EMAIL PROTECTED]> wrote: > > 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 [email protected], "Alex Harui" <aharui@> wrote: > > > > Call stopImmediatePropagation, or override keyDownHandler and don't call > > super, or override findString > > > > > > > > ________________________________ > > > > From: [email protected] [mailto:[EMAIL PROTECTED] On > > Behalf Of benoit.kogut > > Sent: Thursday, November 22, 2007 8:36 AM > > To: [email protected] > > 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. > > >

