Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a new xMenuFunction object by passing xMenuFunction's name and MenuItemType to the xMenuFunction constructor.
Syntax
public void new(str Name, MenuItemType type)
Run On
Called
Parameters
- Name
Type: str
A string expression that evaluates to the name of the object..
- type
Type: MenuItemType Enumeration
A constant in the MenuItemType system enumeration: MenuItemType::Display, MenuItemType::Output, or MenuItemType::Action.
Remarks
When creating a xMenuFunction object, the parameters must uniquely identify an existing xMenuFunction. If not, Exception::Internal is thrown.