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

hiDeleteMenuItem

hiDeleteMenuItem(
r_hiMenu 
s_itemHandle
) 
=> t / nil 

Description

Deletes a menu item or action from all instances of the specified r_hiMenu.

Arguments

r_hiMenu

Menu created with hiCreateMenu or hiCreatePulldownMenu.

s_itemHandle

SKILL menu item handle specified when the menu item was created with hiCreateMenuItem, hiCreateSliderMenuItem or hiCreateSeparatorMenuItem, or when the action was created with hiCreateAction.

Values Returned

t

The menu item is deleted.

nil

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

Related Topics

Menu Functions

hiCreatePulldownMenu

hiCreateMenu

hiCreateMenuItem

hiCreateSliderMenuItem

hiCreateSeparatorMenuItem


Return to top
 ⠀
X