Change the LocalServer program and ViewMain main menu to the specified menu format.
Note : Changing the Local Server program menu (user menu)
void @MenuChange(string menuFile);
Paremeters
string menuFile : menu file
Return values
none.
Example 1
@MenuChange("Menu1.mnux");
Description : Change the main menu according to the contents written in the Menu1.mnux file.
Example 2 Script for login
@GetUserName(user);
if(user == "ADMIN")
@MenuChange("StartUp.mnux");
else @MenuChange("menu1.mnux");
Description : If the user is an ADMIN, apply StartUp.mnux to the main menu; otherwise, apply menu1.mnux to the main menu.
Version Information
Initial Version: 10.3.7.7
Related helps