U_BAR

Place or remove the menu bar or information line

WSupported on Windows
USupported on Unix
VSupported on OpenVMS
NSupported in Synergy .NET
xcall U_BAR([D_PLACE|D_REMOVE,] bar[, ...])

D_PLACE

(optional) Place the menu bar or information line. (default) (n)

D_REMOVE

(optional) Remove the menu bar or information line. (n)

bar

One or both of the following items to place or remove: D_MENU (menu bar), D_INFO (information line). (n)

U_BAR places or removes the menu bar and/or information line from the screen. It can have a maximum of three arguments.

On Windows, D_REMOVE has no effect on a menu bar. A menu bar always displays if any menu columns have been placed.

On Unix and OpenVMS, if the menu bar is removed from the screen and the process-menu key is pressed, the menu bar will temporarily be placed on the screen until an entry is selected or until the process-menu key is pressed again. You can remove the menu bar permanently by redefining the process-menu key to be nothing.

When D_REMOVE is used, the extra row in the display is only available for the placement and display of an unbounded window.

The following example removes both the menu bar and the information line from the screen.

xcall u_bar(D_REMOVE, D_MENU, D_INFO)