Consultor Eletrônico



Kbase 17357: How to Hide a Menubar
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
How to Hide a Menubar

A menu cannot be hidden with the HIDE command.
Attempting to do so produces the following syntax error:

Statement does not support MENUs. (3501)

Also, the HIDDEN and VISIBLE attributes of a menu are not settable.
Attempting to set either of these attributes results in the following
runtime error:

**<attribute> is not a setable attribute for MENU <menuname>. (4052)


In order to 'hide' a window's menubar, the unknown value (?) must be
assigned to the window's MENUBAR attribute:

<window-name>:MENUBAR = ?.

To view the menubar again, assign the menu's handle to the window's
MENUBAR attribute:

<window-name>:MENUBAR = MENU <menuname>:HANDLE.

Progress Software Technical Support Note # 17357