Hi,
Can any one point me in the right direction on how to hide a menu item?
Ive created a menu with the menubuilder, and can enable and disable items in that menu, but I have an instance where I want to remove some items rather than have them just disabled / greyed out. Is this possible.
As an example. in the Help menu I have a menu item 'Buy a License'. Id like this to disappear in the registered version completely, and not just be greyed out.
Probably something simple Im just missing!
Thanks
Andy
Hiding Menuitems
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Hiding Menuitems
Hi Andy,
unfortunately you cannot do this directly but need to manipulate: the text of btn "your menu here"
Yes, menus are simple buttons
Try this:
...
put the text of btn "your menu here" into tMenu
filter tMenu without ("Buy a License" & "*")
## * in case you also have some shortcuts defined here like /B or something AFTER the name of the menuitem
set the text of btn "your menu here" to tMenu
...
Best
Klaus
unfortunately you cannot do this directly but need to manipulate: the text of btn "your menu here"
Yes, menus are simple buttons

Try this:
...
put the text of btn "your menu here" into tMenu
filter tMenu without ("Buy a License" & "*")
## * in case you also have some shortcuts defined here like /B or something AFTER the name of the menuitem
set the text of btn "your menu here" to tMenu
...
Best
Klaus
Re: Hiding Menuitems
Thanks Klaus!
Andy
Andy