ENABLEDWHEN keyword
Applies To
All component types
Description
Specifies the conditions under which this component is enabled. If you reference variables, other components, or properties on collections on the form, WinStudio creates dependencies so that when those values change, the condition is automatically executed.
The keyword is stored in the format specification and not normally directly visible, because the keyword's contents are placed into the Enabled When field in the Component Properties sheet. However, if you are using the “Use Free Form” option, you must manually enter this keyword and its parameter values in the “Free Form Data Type” field.
Syntax
Use the “Edit Set of Conditional Actions” dialog box from the “Enabled When” field in the properties dialog to build the appropriate expression when creating an event handler of type Conditional Action.
See “Conditional Action Syntax”.
Remarks
This keyword is used in expressions stored in the forms database. However, in most cases, you define enablement conditions using the dialog box described above.