Using the Visible Property

Use the Visible property to determine whether menu items are hidden by default.

If the Visible property of a menu item is set to true, the menu item appears in the Menu painter's Tree and WYSIWYG views. If you want a menu item to be initially invisible, set the Visible property to false in the menu item's Properties view.

To display a control at runtime, set the Visible property to true:
menuitem.Visible=TRUE
To display hidden controls in the WYSIWYG view, select Edit > Show Invisibles.
In the WYSIWYG view, the menu item appears.