eva/3 Application BuilderDeveloping Additional eva/3 ComponentsUser CommandsExamples for Tasks of an CommandExamples for macro commands 

Execute a Command by a Command

The following example shows, how the system command OpenForm can be executed.

Example:

// Creates an Object Array with one entry. This is the name of the form to be opened
Object [] windowName = {"window.form"}; 
// Creates an instance of the command OpenForm
OpenForm openForm = new OpenForm(); 
// The method action(Object []arg0,Macro arg1) will be executed
openForm.action(windowName,arg1);