6. Creating and Using Basic Fields : Scalar Fields : Create a Free Trim
 
Share this page                  
Create a Free Trim
Free trim is a field type that appears as text without a boundary on a form. You indicate the starting point for the free trim field and enter a text string of any length.
To add a free trim field to a frame
1. Open your frame in the Frame Editor (see Open an Existing Frame).
2. Select the Free Trim icon on the field palette.
3. Position the cursor on the form and click.
4. Enter the free trim text in the free trim field that appears.
Note:  Workbench does not wrap the text. To start a new line, you must press Enter.
5. Click the Select Mode icon to exit Text Mode.
6. Select the free trim field to access its properties in the Property Inspector.
The text defaults to the StringValue property's value cell.
7. Select the BgColor property and change the background color on one of the palettes.
Note:  For more information about the various properties, see Common Field Properties (see Common Field Properties).
8. Select the FgColor property, and choose a foreground color.
9. Change other properties such as IsBold, TypeFace, and TypeSize.
Note:  You can also use the Frame Editor's font palette to specify type face, type size, italics, and boldface for an individual field. Additionally, you can apply these selected attributes to all fields that are currently selected by clicking the Apply button. If you also select the Apply to Children option, then the selected font attributes are applied to all selected fields and their children. Furthermore, if the form itself is selected and Apply to Children is on, the font palette applies to all fields on the form.
For complete descriptions of each field property, see Free Trim Properties (see Free Trim Properties) and Common Field Properties (see Common Field Properties).