Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiDeleteBannerMenu

hiDeleteBannerMenu(
w_windowId 
x_menuPosition 
)
=> t / nil 

Description

Deletes a menu from the menu bar of a window.

Arguments

w_windowId

Window from which to delete the menu.

x_menuPosition

Integer specifying the position of the menu that you want to delete. 0 represents the leftmost user-defined menu on the menu bar, 1 the one to its right, and so on.

Values Returned

t

The menu is deleted.

nil

The menu is not deleted. An error message is also issued.

Examples

Deletes the left-most menu from the menu bar of hiGetCurrentWindow.

hiDeleteBannerMenu(hiGetCurrentWindow( ) 0)
=> t

Related Topics

Window Banner Functions


Return to top
 ⠀
X