wondering if anyone has some ideas of how i can go about doing a folder structure in a menu/popupmenu.
I built one. however when a folder has sub folders and i create the parent folder as a sub menu listing all its sub folders. The parent is then not selectable as it’s a sub menu title.
thats actually normal behavior at least on OS X but pretty sure its that way on Windows & linux as well
yeah i understand that, i was just wanting to know if anyone has some good ideas or a standard practice to get around this to have some kind of folder structure menu.
I don’t think it’s even possible to change the behaviour. Whenever I see what you want I see it with a custom control, usually a button of this form:
Custom
Windows
I don’t think there’re native controls for this. The Windows one is faking it by taking advantage of square buttons (a common pattern is putting an ellipsis or a downwards arrow in a control to the right of the button).
It’s a useful, compact pattern, but it’s very uncommon. And I don’t think I’ve ever seen it applied to Dropdown menus, only incorporating them into a parent control.