WinStudio

Edit Parameters for Generate Application Event Validator Dialog Box

Use this dialog box to specify settings for a validator with the Generate Application Event response type.  This type of validator lets you use the Application Event System to construct validation logic and use that for component validation.

For information about application events, see the Guide to the Application Event System and Help for the Events form and related forms.

Event Required. The name of an application event defined in the Events form. Only non-framework events can be specified.
Synchronous With this check box selected, form processing is suspended until the application event system executes its event handlers. Output values returned by handlers for the application event can be processed into form components, variables, or properties as specified in parameter Value settings. Any updated components and properties are marked modified.

If you clear this check box, no processing of output parameters occurs in the form. The form continues to execute after the event is generated, allowing the application event system to operate in parallel with WinStudio.
Name The name of a parameter defined for the event in the application event system.

To return the result of a synchronous event into the form component, variable, or property specified in the Value field, specify the keyword RESULT.
Value WinStudio substitution keywords and literals are supported as parameter values.

If Synchronous is selected and a parameter with the same name is defined as an output parameter in an application event handler, output values can update form components, variables, or properties. To enable updates of this type, use the substitution keywords C(ComponentName), V(VariableName), or P(PropertyName) as values. Event handler output from such parameters are placed in the named components, variables, or properties.

To add or edit a literal value or a component, variable, or property value, click Edit Parameter.
New Parameter Click to create a new row in the Parameters grid. To specify a new parameter, enter a Name, and then enter a Value or click Edit Parameter to specify a Value.
Delete Parameter Click to delete the current row in the Parameters grid.
Edit Parameter Click to edit the Value in the current row in the Parameters grid.