I have manu with (say) HOME item. I want to add such functionality that when user click HOME he will be directed to the Helpcase page. Any way to do it ?
or if not to any HTML page (within the SC project folder)
Arthur
I have manu with (say) HOME item. I want to add such functionality that when user click HOME he will be directed to the Helpcase page. Any way to do it ?
or if not to any HTML page (within the SC project folder)
Arthur
See this
http://www.scriptcase.net/docs/en_us/v8/scriptcase-macros/scriptcase-macros#sc_menu_item
jsb
sc_menu_item
This variable is only avaliable for menu application and it has the objective of giving acess to a menu item that was selected, this way the user can take desicions before to run the application.
Ex. 1: To clean global variable.
if ({sc_menu_item} == "item_1")
{
sc_reset_global([global1], [global2]);
}
Ex. 2: If an application requires a global variable another application can initialize it accordingly.
if ({sc_menu_item} == "item_5" && (!isset([glo_employ]) || empty([glo_employ])))
{
sc_redir(apl_inf_emp);
}
Ex. 2: Use the button on the toolbar menu.
if ({sc_menu_item} == "btn_1")
{
sc_apl_conf("form_customer", "start", "new");
}
not sure what you mean, if you referring to the above I’m confused on how am I supposed to use it in refference to calling or opening an HTML file