Hi I'm trying to create a context menu on a tab pane : right-click on the title of the pane and you get a menu *that depends on the tab you clicked*. Think of Firefox, for example, where you can right-click, choose "close tab" and it closes the tab you chose.
I managed to create a menu, but am unable to find a way to know which tab has been clicked. If I call getSelectedIndex on my TabPane, it works if the pane is already selected, but returns the /previous/ selected pane if you click on an unselected pane. Is there a good way of achieving this ? Thanks in advance. Guillaume -- View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Context-menu-on-a-Tab-Pane-tp4021914.html Sent from the Apache Pivot - Users mailing list archive at Nabble.com.
