Workbench User Guide : Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The calculator_control Field Template
 
Share this page          
The calculator_control Field Template
The calculator_control field template creates a complete four-function calculator in a user frame. In addition to chained arithmetic calculations, the calculator includes memory storage and recall, square, square root, and inverse features.
For more information, see the description of the calculator control field functions in Create a Calculator Frame.
Create a Calculator Control Field
You can create a calculator control field using the calculator_control field template in the Frame Editor.
To create a calculator control field
1. On the Develop tab, in the Components portlet, open the frame in which you want to create the field from the field template.
2. Click Insert, Field From Field Template.
The Select a Field Template dialog appears.
3. Select the core application and the calculator_control template, and then click OK.
4. Position the field in the frame.
The Calculator Assistant appears.
5. Click Generate.
The field is created and displayed on the form.
How a Calculator Control Field Works
The calculator control field that is created by the calculator_control field template looks and operates like a standard pocket calculator.
For a description of the features of the calculator control field, see How a Calculator Works.