MenuFunction.run Method

Runs a MenuFunction object from code.

Syntax

public void run([xArgs _args])

Run On

Called

Parameters

  • _args
    Type: xArgs Class
    The arguments that are used to run the MenuFunction object; optional.

Remarks

This function is used to run a MenuFunction object from code.

Examples

This example creates and runs a MenuFunction object.

// Create a MenuFunction object. 
MenuFunction mf; 
mf = new MenuFunction(FormStr(Address), MenuItemType::Display); 
  
// Run it. 
mf.run();

See Also

Reference

MenuFunction Class