From Xojo Documentation

Revision as of 16:05, 17 September 2020 by PLefebvre (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Boolean )

aMenuItem.Visible = newBooleanValue
BooleanValue = aMenuItem.Visible

Supported for all project types and targets.

Indicates whether or not the menu item is visible. The default is True. If False, the menu item does not appear and no blank space is for it is in the menu.


This property does nothing on Windows so use MenuItem.RemoveMenuAt instead.

Sample Code

This code is in the Open event of the main window:

EditFind.Visible = False