sc_appmenu_exist_item("Menu_Name", "Id_Item")
|
|
This macro should be used in events of control or not event onload of the menu.
Ex. 1: sc_appmenu_create ('menu_main');
Check if a menu item exists and return a true or false value.
| Parameter |
Description |
| Menu_Name |
Menu App Name |
| Id_Item |
Menu Item Identifier Code |
Ex. 1:
if(sc_appmenu_exist_item('menu_main', 'item_2')){
sc_appmenu_update_item('menu_main','item_2','item_1','Category Form','form_category');
} else{
sc_appmenu_add_item('menu_main','item_2','item_1','Category Form','form_category');
}
|
Macro Scope
|
Menu application
|
Tree menu
|
allMacros onApplicationInit onLoad
|
allMacros onApplicationInit onLoad
|
|