Method Call response type
Event handlers with a Method Call response type allow the use of IDO methods to handle the event.
To define a Method Call response type, you must specify the name of the IDO that contains the method, the method name, and any parameters required by the method. You can specify literal, property, variable, and component values as parameters.
Event handlers with a Method Call response type can output values to properties, variables, or components. To do this, specify the appropriate property, variable, or component name for the method's output parameters. You must also specify the Output attribute for each output parameter.
Methods indicate failure by returning a return code greater than 4. Return codes 1 through 4 are reserved for warnings. If a method returns a code of 1 through 4, WinStudio displays the error message with the word "Warning" prefixed. The method should return a code of 0 to indicate success.