This might help you get started.  For me, I have a rename button.  It kicks
off the following code:

  var e:ListEvent = new ListEvent(ListEvent.ITEM_EDIT_BEGINNING, false,
false, 0, tree.selectedIndex);
  tree.dispatchEvent(e);

This starts an edit on the currently selected item.  You could do the same
using a context menu.  If you don't normally have the tree set to
edit-on-click, you'll need to set tree.editable = true; first.

On Oct 9, 2007 12:15 PM, pfkellogg <[EMAIL PROTECTED]> wrote:

>   can anyone point me to code samples that show how to rename a tree
> node via right mouse click (using contextual menu), like the way
> windows explorer does it.
> thanks very much.
>
>  
>



-- 
Jason

Reply via email to