07-11-2017 03:59 PM
Is it possible to temporarily disable or hide menu bar for the form.
Let me describe the situation (I'm using lab view 2011). The contents of menu bar is not static. It depends on some parameters, and it takes time to calculate this parameters. This time is not much, but sometimes I can start to navigate through the menu while it is been creating. So obviously I have the error: "Cannot insert or delete menu items while LabVIEW is tracking this menu. This error occurs when you use the Insert Menu Items or Delete Menu Items function to add or remove a menu item while a user is interacting with the menu. After LabVIEW processes a menu activation event, LabVIEW begins to track that menu. For example when you navigate through menus with the mouse or the keyboard, LabVIEW tracks that menu. While LabVIEW is tracking a menu, LabVIEW cannot insert or delete items from that menu."
So, my idea is to disable or hide the menu bar, while it building. How can I do this?
Thank you.
Solved! Go to Solution.
07-11-2017 07:40 PM
You could set the cursor to busy while you are running the calculations.
07-12-2017 12:17 AM - edited 07-12-2017 12:17 AM
@Gregory wrote:
You could set the cursor to busy while you are running the calculations.
To expand on this, setting the cursor to "busy" prevents any front panel operations to the referenced front panel.