User Tools

Site Tools


macros:function:menu.pushorreloadmenu

Function

Menu.PushOrReloadMenu

Void Menu.PushOrReloadMenu(String newMenuId)
API http://api.avolites.com/11.0/Menu.PushOrReloadMenu.html
description Push a new menu onto the top of the stack if it's not already there If it is, just reload it.
namespace Menu
parameter newMenuId ( String ) : Id of the menu to add.
There are many menus in Titan. One example is the generic error menu - its id is Error.Generic.
return value Void

There might be various display items attached to each menu. E.g. the menu Error.Generic shows a message in the prompt, the contents being taken from Menu.ErrorMessage.

Example in

Show a message prompt:

<step>Menu.PushOrReloadMenu("Error.Generic")</step>
Also used in
Remarks
You could leave a comment if you were logged in.
macros/function/menu.pushorreloadmenu.txt · Last modified: 2018/09/16 15:32 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki