1. MenuItem
- Posted by DonCole May 15, 2012
- 1115 views
Hello Everyone,
constant MenuItem_NewWatched = createEx( MenuItem, "New Watched", Menu_101main, 0, 0, 0, 0, 0, 0 ) setVisible(MenuItem_NewWatched,0)
This does not remove "New Watched" from the menu.
Is this normal?
Don Cole
2. Re: MenuItem
- Posted by DerekParnell (admin) May 15, 2012
- 1106 views
DonCole said...
setVisible(MenuItem_NewWatched,0)
This does not remove "New Watched" from the menu.
Is this normal?
Yes, this is expected behaviour. From a UI perspective, menus are meant to be fairly predictable in their visualization. One purpose of a menu is to show the potential choices, not only actual choices available.
So you can disable an item if you don't want them to be used, or delete() them from the menu.