sc_appmenu_remove_item("Menu_Name", "Id_Item")
|
|
The sc_appmenu_remove_item() macro removes a menu item dynamically from a menu previously created with sc_appmenu_create().
Parameters
| Parameter |
Description |
| menu_name |
Name of the menu application. |
| id_item |
Identifier of the menu item to be removed. |
Example
// Example 1: Remove item_2 from the "menu_main"
sc_appmenu_remove_item("menu_main", "item_2");
|
Macro Scope
|
Menu application
|
Responsive Menu
|
Tree menu
|
allMacros onApplicationInit onLoad
|
onApplicationInit onLoad
|
allMacros onApplicationInit onLoad
|
|