08-12-2014 08:15 AM
I have what might be a bug to report regarding menu bars on tab pages.
It's easy enough to attach a menu bar onto a tab page as seen in this screen shot:
The menu bar visually gets attached and I built my menu bar. Curiously, if I double-click the tab control, there's no option that I can find on each tab page that allows me to attach an existing menu bar, like you would with a normal panel. No matter, as I can programmatically attach the menu bar to the tab page.
Now the bug:
After closing CVI and reopening, my UIR file is corrupted. On a whim, I guess that it had to do with the way I attached it from the right click menu above. Thankfully I have the text UIR option enabled in my CVI, so I was able to call up that version and delete the line that attaches the menu bar in the UIR. This uncorrupted my UIR!
So...
08-13-2014 09:54 AM
Hello ElectroLund,
This seems to be a bug. It was first introduced in 2012 when the Menu Bar.. was introduced in the context menu.
It's not common to have menus in tab pages, but tab pages are ultimately panels, which accept menus.
I filed a CAR, ID 487173 to track this issue.
Constantin
08-13-2014 09:56 AM
Yes, I agree that it's not a common UI thing, but in my case it greatly cleaned up my GUI real estate by replacing a ton of buttons on the tab page.
08-24-2015 06:04 AM
It is fixed in 2015. Now you can save the uir having a menu attached to a tab page.