Share this page 

Make a reference to a Menu from a frame or a sheetTag(s): Powerscript

Keep in mind that references to a menu should always be based on the window (or frame/sheet) it is attached to, not directly.
my_menu m_menu   // or w_master if PFC are used

m_menu = w_frame.MenuId
m_menu.m_file.m_retrieve.toolbaritemvisible = FALSE