Access MenuBar from MenuItem


is there any way to access the container MenuBar Object from a MenuItem? the available getParent function returns only the top MenuItem and not the MenuBar.


If I look at the source, a MenuItem has no reference at all to the menu bar. Perhaps you can wrap your menu item to add this reference.

I have changed my application to keep the reference of MenuBar as well, but could this be a possible feature to be added in a later version?

Hi Nicole,

It seems that there is currently not an enhancement ticket to that feature:

But you can always post a new ticket into the TRAC so it will be considered by aour R&D team.