Navigation:  Reference > Report Objects >

TppLabel

Print this Topic Previous pageReturn to chapter overviewNext page

Description

Use this object to put text directly into the report.  Whatever you put into the Caption property will print on the report.  If you want to put data from your program into the report you would use the TppDBText or TppDBBarCode object instead.

 

The TppLabel component is a report control that displays text on a report. Report labels are typically used for report titles, column headings, group headings, etc. The text of a label is the value of its Caption property. How the text of the caption aligns within the label is determined by the value of the Alignment property. You can have the label resize automatically to fit a changing caption if you set the AutoSize property to True. Set the WordWrap property to True if you the want the text to wrap rather than be truncated to fit inside the control.

 

You can control the appearance of this component (Font, Alignment, etc.) at design-time by using the Format Bar of the Report Designer. The Format Bar also allows you to set the Caption property from an edit box at the far left. You can also set key properties by using the speed menu. To access the speed menu, position the mouse cursor over the component and click the right mouse button.

 

PALETTE ICON & EXAMPLE

 

 

PROPERTIES

The following are the properties that apply to this object.  Some are defined in Common Properties and are linked to their appropriate page.

 

Alignment

AutoSize

CaptionThe text that will print on the report.

       

Font

Height

Left

Name

OnPrint

ShiftWithParent

Tag

Top

Transparent

Visible

Width

 

WordWrapIf you want to allow the object to wrap sentences as though this were a memo field then check this object.  If you also have AutoSize checked the object will grow in length to the appropriate number of lines that are required to print the entire object.

 

 

 


Page url: http://www.cassoftware.com/tas/manual/tpplabel.htm