Posted 12 years ago by Colin Blakey - Application Development Manager, Vertex Inc
Version: 2.0.0093
Avatar
I've got a simple question on how to set menu item visiblity. I can see how to show/hide the complete menu at the top level i.e. a File menu using barManager.MenuBar.CommandLinks["Menu.File"].Visible = true/false;
but not how to set the visibility of a menu item under that main menu item say in this case an Open File item.

Thanks

Colin Blakey

Comments (2)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Colin, if you cast the "Menu.File" command link to its appropriate type BarPopupButtonLink, then that will have a CommandLinks collection of its own you can access to get the sub item.


Actipro Software Support

Posted 12 years ago by Colin Blakey - Application Development Manager, Vertex Inc
Avatar
Thanks that works.
The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.