This is a known issue and can be solved with the following workaround. Instead of deleting a single menu item, you can delete the full menu with the following:DiscardMenuBar(menubarHandle);menubarHandle = LoadMenuBar(panelHandle, "User Interface Application.uir", MENU);However, if a message popup happens immediately after this then it will cause a run-time error. As long as the Message popup does not happen after the discard and load of the menu bar then the error does not occur.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.