WinStudio

Edit Action Dialog Box

Use this dialog box to specify the "action" part of a conditional action value expression for a component.

Action Type Specify the type of conditional action to define:
  • NONE - Nothing happens. This setting is the default when you create a new conditional action.
  • Set - Sets a value for the component if the condition evaluates to true.
  • SetModified - Sets a value for the component and marks the record as modified, if the condition evaluates to true.
  • Enabled - Enable the component if the condition evaluates to true, or disable the component if the condition evaluates to false.
  • Required - Make the component a required field if the condition evaluates to true.
  • Visible - Make the component visible if the condition evaluates to true, or hide the component if the condition evaluates to false.
  • Toggle - Turn the component setting on or off based on the condition setting.
  • Modified - Mark the record as modified if the condition evaluates to true.
  • GenEvent - Generate an event if the condition evaluates to true.
  • GenEventRet - Generate an event and return a value if the condition evaluates to true.
  • Focus - Sets focus on the component if the condition evaluates to true. If the condition evaluates to false, focus on another component, if supplied in the expression.
  • ReturnValue - Sets the return value based on the conditional action.
  • Stop - If the condition evaluates to true, stop execution of any additional actions on the overall expression.
  • Validate - If the condition evaluates to false, display the message specified in the expression.

See Conditional Action Syntax for details about the actions.

Action Value Enter a value or click Edit Value to display the Edit Value Expression dialog box.

Related Topics

Creating a Conditional Action Expression - Simple Example

Conditional Action Syntax

Enabled When, WinStudio Component Property

Required When, WinStudio Component Property

Visible When, WinStudio Component Property