Required property
Use the Required property to specify whether a component value is required.
Setting | Description |
---|---|
“True” | The user cannot save an object unless the component has a value. If data is not entered in the component and if the “Validate Immediately” property is set to “True”, the user is prompted to enter data before tabbing away from the component. |
“False” | Default. The user can save an object when no value has been entered in the component. |
Components that are bound to required properties are automatically required regardless of the setting of the “Required” component property.
By default, WinStudio uses a distinct background color for required components.
You can also use the “Required When” property to make components required based on certain conditions.
相关主题