Remove menu wrong items are getting deleted

<https://xojo.com/issue/49333>

Maybe anyone knows a workaround?

Next time provide more details please.

Things like: “I’m removing a lot of menu items by name in no particular order in the App.Open event and there seem to be some casualties. Menus that aren’t hardcoded seem to be closing, and I’m not sure why.” are much more helpful.

This turned out to be an issue where you were removing submenu items by name from the MainMenu. This was confusing the MainMenu. By using the submenu objects and removing the submenu items from them, I was able to achieve what I believe was your desired result. Check the feedback case for a corrected project.

posted on the case

Thank you guys for your feedback.