Add additional submenus
Tue, 01/26/2021 - 01:38 pm
There are many times when I've wanted to programmatically create new submenus within a PopUpContextualMenu, and to allocate items to different submenus. This doesn't seem to be possible right now -- although you can dynamically adjust Menu items, the submenus themselves must be hard-coded into the Menu definition from the start. Instead, I'd like the end user to be able to add submenus to an existing menu definition on the fly using something like AddSubMenu(submenuName,addToMenuName,itemListString).