Removing menu items

I have some code to make some menu items visible or not visible.
It works fine on the mac.

On Windows, it leaves a gap where those menu items would be which looks weird.
So at top of one menu I have 3 or 4 menu items set to invisible for that edition of my software… and it just makes a big gray gap so the first visible menu item is like an inch down.

Is this a bug in Xojo or do I need to do more than just setting Visible to false for a menu item?

You need to actually remove the item from the menu for the effect you desire.

Why does it work on the Mac then?

Another option, Tim, might be to have a separate menubar without those items and swap it in and out on the fly.