How To: Use the Set a View's Properties Action
You can change the properties of a view at runtime. You can find these rule actions on a form and subform in the Rule Designer.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
- Create a view.
- Create a form containing the view.
- Edit the form and configure a rule to set the view's property at runtime.
- We want to make this view invisible at runtime when the form is initialized. Select the Set a View's properties action.
- Click configure next to the action.
- Select the Visible property and change it to No.
- Finish the rule and then finish the form.
- Run the form and note that the view is not visible when the form initializes.
![Closed](../../../Skins/Default/Stylesheets/Images/transparent.gif)
- You cannot change the height, width and tab indexing properties of the view at runtime.
- When changing the setting of the Default property at runtime, only the Default property of the view is changed and not how the view is rendered with the current session. In other words if the Default property of a view is set to Expanded, then changed at runtime to Collapsed, the view will not automatically collapse in the current session. The view will only be collapsed when the form is opened again as the default will then apply.