I am new to Flex, does anybody have a example of code?
Wouldn't it be posible to use itemDoubleClick? Kind Regards Morten Madsen On 5/24/07, ivo <[EMAIL PROTECTED]> wrote:
You have to set your Tree to editable and then listen for the event ListEvent.ITEM_EDIT_BEGIN . Your handler for this event can keep tabs for what was the last node that was clicked and at what time. If there were no previous clicks on the target node or the last click was more than x milliseconds ago then you call event.preventDefault(); to disable editing, otherwise there were two consecutive clicks within x milliseconds so you let it continue and the label editing will take place. ----- Original Message ---- From: Morten Madsen <[EMAIL PROTECTED]> To: [email protected] Sent: Thursday, May 24, 2007 3:15:16 AM Subject: [flexcoders] Tree edit item doubleclick Hi people! I have a tree, and I want to be able to double click on an item in the tree and then edit the name/label, is this posible? Kind regards Morten Madsen

