-
Hi, I used the following commands to do that: menuItem1.setVisible(false); By the way the screen seems not updated to the new layout. Is that a way or a command that updates the display? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi sorry for the delay in answering, we've been a bit busy in a rather large migration project (see other new discussion). Whenever you do either make an item visible or hidden, or you otherwise materially change the layout of items you need to reset the menu as follows:
Thanks, |
Beta Was this translation helpful? Give feedback.
Hi sorry for the delay in answering, we've been a bit busy in a rather large migration project (see other new discussion).
Whenever you do either make an item visible or hidden, or you otherwise materially change the layout of items you need to reset the menu as follows:
tell everyone the menu structure has changed
menuMgr.notifyStructureChanged();
you may need to make the menu completely recalculate as well.
menuMgr.resetMenu(true);
Thanks,
Dave.