MenubarAddItem()

Previous Next

Adds a menu option to a menu page dynamically.

This method can be called in yes or no actions of a decision, in combination with MenubarDeleteItem().

Syntax

MenubarAddItem(<menu page>, <new menu option>, <action>)

Parameters

Menu page

The name of the menu page that the new menu option is to be added to.

menu option

The name of the new menu option to be added.

action

The action to be performed by the new menu option.