I’m looking to build what is essentially a menu editor – the user should be able to add items, submenus, separators, etc to a menu that’s displayed in the main body of the app. I’m perfectly content to hand-roll the various controls to do the addition / deletion / renaming / etc of menu items. What I’m wanting a little guidance on is actually showing the menu.
What I’d really like to do is have a FlatMenu in a panel that would just stay there always visible, updating as the user edits it. My initial stabs at that make me think that this might not be easy since FlatMenu is a child of PopupWindow which seems to have deep innards that make it modal when it’s visible and disappear when it loses focus.
Does anyone have any thoughts on the most direct and simplest route to victory as far as showing a non-disappearing menu inside a panel? I’m starting to fear I just need to roll my own menu-like implementation by hand with lots of little rectangular boxes, and I’ll go down that path if I have to.
But I was hoping someone might have some ideas that haven’t occurred to me, or some thoughts on how to get one of the existing Menu / FlatMenu / etc classes to work embedded inside a panel.
Thanks in advance for any guidance y’all have.