Add Labels to a Report Frame

Only a limited amount of painter functionality is available for report frames, as it simply provides the functionality to use a character-based font (fixed fonts). The only object which can be added to a report frame is a Label, whose behaviors depends on the methods used to add the label to the form.

To drag a label from the Toolbox and drop it onto a form, perform the following:

  1. Click the Painter tab available at the bottom of the document window.

  2. In the Toolbox, click the Label object and drag it to your form.

  3. Drop the label onto the form by releasing the mouse button.

When adding a Label by this method, the Label is added as a static label object, and is used for entering static text into the report.

Note: You can specify a qualified object name as the value to make this object a dynamic Label object.

To drag an attribute from the Class View window and drop it onto a form, perform the following:

  1. Click the Painter tab available at the bottom of the document window.

    The Form appears.

  2. If it is not already open, open the Class View window by clicking the View, Class View menu item.

  3. Sort the hierarchical list into the most appropriate form to locate the attribute you want to use.

  4. If necessary, click the plus (+) symbol next to the appropriate node.

  5. Select the attribute you want to assign to a label, and drag it onto the form.

  6. Drop the attribute onto the form, to create a default dynamic Label object.

When dropping an attribute from the Class view onto a report frame, a dynamic Label object is added to the report. A dynamic label control is used to specify where to insert the value of an attribute in the report at runtime.

Note: This differs from dragging an attribute onto a form in the screen painter, where it adds a Text Box.