Share via


SysInfoAction_MenuFunction::newMenuItemFormRun Method [AX 2012]

Creates an instance of SysInfoAction_MenuFunction class from a form menu item.

Syntax

client server public static SysInfoAction_MenuFunction newMenuItemFormRun(
    MenuItemName _menuItemName, 
    MenuItemType _menuItemType, 
   [IdentifierName _controlName, 
    Description _description])

Run On

Called

Parameters

Return Value

Type: SysInfoAction_MenuFunction Class
An instance of SysInfoAction_MenuFunction class initialized from a form menu item.

Remarks

If the control specified by the _controlName parameter exists on the form, it will be given focus after running the form.

See Also

Reference

SysInfoAction_MenuFunction Class