# contextMenu and tree component

**URL:** <https://forum.kirupa.com/t/contextmenu-and-tree-component/170169>\
**Category:** flash\
**Created:** [November 23, 2005, 12:12pm UTC](https://forum.kirupa.com/t/contextmenu-and-tree-component/170169 "2005-11-23T12:12:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jakepeg](https://avatars.discourse-cdn.com/v4/letter/j/8dc957/32.png) [@jakepeg](https://forum.kirupa.com/u/jakepeg)\
**Post date:** [November 23, 2005, 12:12pm UTC](https://forum.kirupa.com/t/contextmenu-and-tree-component/170169/1 "2005-11-23T12:12:22Z")

</div>

hi

I want to be able to attach contextMenu items to nodes on a tree component, so that when the user right clicks on a node, a custom menu appears and clicking on a menu item returns the id of the selected node to an event handler attached to the menu item.

is this possible?
