Reports Information : Parts Reference : Report Text Field : Report Text Field properties
Report Text Field properties
The Report Text Field part has the following properties:
The backgroundColor attribute is the name of the RGB color for the background of the part.
You cannot change the background color of a column. This attribute is ignored for the Container Details Column part. This attribute is also ignored for a report viewer.
The borderStyle property specifies the border to be drawn around a report object. You can specify either Dashed, Heavy, None, or Normal for any the top, bottom, left, or right border of the part.
The converter attribute is an object that manages the conversion of other objects to and from their display format for certain visual parts, such as a Text part.
For many of the visual parts, you specify the type of data you want displayed for the part in the Data type field in the Settings window for the part. You can customize how you want this data to display.
The deviceFont property specifies the font to use for a particular device. You can set the font for your display or printer, for example.
The foregroundColor attribute is the name of the RGB color for the foreground of the part.
The height attribute specifies the height an element in a Report Free Form Line.
The isOwnerDraw property is used to specify whether you want to draw on this field after it has been placed on the Composition Editor. Specify true if you want to be able to draw on the field.
The justification attribute determines how the contents of the part are aligned.
The initial values for this part are set on the settings view for the part.
The object attribute refers to the contents of the part. Use this attribute to retrieve or set, for example, the title, date, or page number of a report. This attribute is often confused with theself and string attributes. The self attribute refers to the part itself, rather than the value it holds; and the string attribute refers to a string representation of the contents of the part. Most of time when you want to retrieve or alter the contents of a part, you need to use the object attribute.
In the partName field, type the name you want to use to describe the part. For non-visual parts, this text appears under the icon for the part on the free-form surface.
The name of the part can consist of alphanumeric characters, and must be unique from all other parts on the layout surface.
This field is optional. If you do not specify a part name, VA Smalltalk generates a unique name based on the class name of the part.
The sizeEffects attribute indicates how to handle text that is longer than the part that contains it. This attribute can be set using the constant values from the CoConstants pool dictionary as follows:
Clips the text
Runs the text over other parts on the report
Wraps the text to the next line in the part
The underlined property specifies whether the text in the part should be underlined in the report.
The unitTypeSelected attribute refers to the unit of measurement for setting margins and field sizes in a report. You can choose from the following:
The width attribute refers to the width (in units set by the unitTypeSelected attribute) of the part.
The x attribute represents the number of units from the left margin to indent the part.
The y attribute indicates the y coordinates for the element in a Report Free Form Line.
Last modified date: 01/29/2015