6. Creating and Using Basic Fields : Scalar Fields : Create a Box Trim
 
Share this page                  
Create a Box Trim
Box trim is a field type that appears as text within a rectangular boundary on a a form. If the text does not fit within the width of the box, OpenROAD automatically wraps the text and lengthens the box to accommodate the extra lines of text. If you move or resize the box, Workbench readjusts the text within the box.
To create a box trim field
1. Open your frame in the Frame Editor (see Open an Existing Frame (see Open an Existing Frame)).
2. Select the Box Trim icon on the field palette.
3. Position the cursor on the form's background and draw a box.
Note:  You do not need to be exact, because Workbench adjusts the box to accommodate the text.
When you release the mouse button, you are in Text Mode. Text Mode is the mode in which you can enter text in a box trim field. A blinking cursor indicates where to start entering text.
4. Enter sample box trim text, and then click the Select Mode icon on the field palette to exit Text Mode:
5. Select the box trim field to access its properties in the Property Inspector.
The text defaults to this field's StringValue property.
Note:  You can also enter the text directly in the value cell for the StringValue property. You can even insert several spaces before your text so that it is right-justified in the box. When you press Enter, the specified text defaults to the field on the form.
Note:  For complete descriptions of each field property, see Box Trim Properties (see Box Trim Properties) and Common Field Properties (see Common Field Properties).