Controls are the basic parts of an interface. The Interface Designer allows you to create two types of controls: input controls, which allow the user to enter information, and output controls, which display additional items in the interface.
The following only applies to Tedds for Word.
Do one of the following:
On the Interface Designer toolbar, click the arrow on the right side of theInput or Output button, depending on which type of control you want to add.
In the list that appears, select the control that you want to add.
Control Description Input controls
A button that allows the user to perform an operation, such as open a data list.
A box that the user can select to perform an operation, such as include a sketch with the output.
A list of standard values that only allows the user to select values in the initial list.
An input field where the user can type the desired value.
Edit Drop List
A list of standard values that allows the user to enter values that are not in the initial list.
Edit Up Down
An input box where the user can enter a value, and adjust the value by using up and down buttons.
A field that displays a line of text.
A list box of standard values that only allows the user to select values in the in the initial list.
A blank line used for separating controls.
When using a custom page template, the control allows you to show a library item or a sketch within the interface.
For more information, see Data views.
A horizontal line that you can use for separating areas of an interface page.
A vertical line that you can use for separating areas of an interface page.
Allows you to create a custom control.
Allows you to insert a list in your interface.
At the top of the page, click Add Control.
A new control appears on the template.
- In the property pane, define the control properties according to your needs.
Adjust control properties
The available properties may vary depending on the control type.
The property pane allows you to define and modify the properties of the selected control. To adjust the control properties, do the following:
Click the control and go to the property pane.
Adjust the control properties according to your needs.In the following table, see the properties of controls in the property pane.
Property name Description Appearance Name
The variable name for the input value when the calculation is run.
Text that the interface views to clarify what information is required in the selected field.
Determines whether the control is enabled or not.Tip:
To always enable the control, leave the field empty.
To disable the control, type 0 in the field.
To define a control on which the current control is dependent, in the Enable if field, type the name of the control on which the current control is dependent.
Hide if disabled
Determines whether the control is viewed in the interface when it is disabled.
Determines how wide the area for the information icon () is.
Determines how wide the area for the control description is.
Determines how wide the area for the control name is.
Determines how wide the area for the variable value is.
Determines how wide the area for the variable unit is.
Allows you to select a type for the control.
Data Default value
Determines the default value of the variable, unless another value already exists.
A value that determines whether the control is disabled.
Determines the units of the value.Tip:
Units may require superscripts, and many variables use Greek characters or subscripts.
To format controls, you can use the formatting buttons on the right side of each property field. In addition, you can click the ... button on the right side of the selected property field to format controls.
Determines the type of the value (number or string).
Events Validation failed
A calculation that is performed when the validation of input controls on the page fails.
A calculation that is performed when the validation of input controls on the page succeeds.
A calculation that is performed when the user has modified the input value.
A calculation that is performed just before the variable is updated because the user has modified the input value.
Allows you to create an expression that determines whether the input value is valid or not.
If the value of the expression in the Expression field is True, the input value is valid.Tip:
To consider all variable values as valid, leave the Expression field empty.
Allows you to create a message that is viewed if the validation of the expression in the Expression field fails.
The minimum value of the variable.
The maximum value of the variable.
Text that appears in the yellow context help window on top of the page when the user does not modify a specific input control.
- Select the control that you want to delete.
- On the Interface Designer toolbar, click Delete.