Basic work with object
The report consists of objects that are intended to display text and graphics. The objects are also bands, page and object itself.
The basic work is labeling, selecting, deleting, moving, resizing and setting up a new object.
Selecting an object
If you want to move the object, change the size or properties, we must first select it. Select the object by clicking on it with the mouse. The object gets the platter, which means it is currently selected. Simultaneously select multiple objects by holding down the Shift key and clicking objects. You can also select more objects by holding down the Ctrl key and pressing and holding the left mouse button. Drag the mouse over the work surface. A dashed rectangle appears. All objects, which are entirely or partially in this rectangle, are selected. When we have selected the desired objects, we release the mouse button.
Deleting an object
Delete the object by selecting it and pressing the Delete key.
Moving the object
To move the object, use the mouse to place on it. The pointer gets the shape of a hand. Press and hold the left mouse button and move the mouse to the new location. There, the left button is lowered and the object remains in that place. In case when we move an object which is connected to another object, this one also moves.
Resizing the object
First we select the object. Then we place ourselves in the corner of the object, where the mouse pointer changes the shape. The mouse pointer changes to the line with arrows at both ends. Press and hold the left mouse button and drag the mouse in the desired direction.
Hiding objects
We hide the objects by selecting a checkmark in the Visible properties in the context menu. If this setting has a band, all the objects on it are also hidden.
Setting up a new object
If we want to put a new object on a report, first click on the icon with the object type in the object toolbar. Move the mouse over the work surface and click on the place where we want to place it. We will review the process below - when creating a new custom report.
Setting up a network for mapping objects
When moving objects on the report, they are difficult to align, as the objects are moved in by a continuous form. Therefore, we can set up a network that allows you to move through certain steps. We set the network properties in the settings of the formatter. We can turn it on or off in the standard toolbar by clicking the button
. By clicking the button
, we allow objects to be automatically attached to the network.
Editing text and designing text objects
Editing text
Editing the text is usually in text fields, but it is possible to add text along the system fields.
In example, we will replace the text in the "Workers" field with a new "Preport of Workers and Their Titles".
We do this by double-clicking on the object. Replace the old text with a new one by deleting the old text and entering a new one.

Click the OK button in the Memo window, we confirm the new text. Expand the box with the new text if necessary.
Hiding the objects
We can hide the objects by using right click menu on the object and use the Visible propertie in the context menu. If this setting has a band, all the objects on it are also hidden.

Deleting objects
Objects on the printouts can be deleted. However, some objects also have a program code on a report that determines their properties. If we delete such an object, we must also delete all the program code that applies to it. If we move such an object to another band, we must also move the corresponding code there. Otherwise, a window with an error message will appear.

Changing of properties of objects
We access the properties of objects by selecting the object. In the View menu, select the Toolbars | Object Inspector. In the window that appears, we can determine the properties mentioned in the tables below.
An important feature of objects within the band, which can be set only in the object inspector, is Align.
Before moving objects, it is advisable to change the property Align to the baNone in the object inspector, and then change it again to its own needs.
The vast majority of objects on system reports have the Align property different from baNone, which means they are tied to either on the edge of the band or to each other.
Parameter |
Description |
baNone |
Object is not aligned. |
baLeft |
Object is aligned to the left. |
baRight |
Object is aligned to the right. |
baWidth |
Object is aligned to the left and right. |
baCenter |
Object is aligned in the center. |
baBottom |
Object is aligned to the lower side. |
baClient |
Object is aligned across the object. |
Other important features
Other important features of the text object are:
Parameter |
Description |
GapX |
Defines the text offset from the left and right edge of the object. |
GapY |
Defines the text offset from the upper and lower edge of the object. |
LineSpacing |
Defines line spacing. |
AutoWidth |
Defines whether the width of the object is automatically changed. This setting must be turned off in tables. |
WordWrap |
Specifies whether the long text will be split into a new line. If AutoWidth is enabled, this feature has no meaning. |
Object types
All elements that are placed on a report are called objects. There are several types of objects, depending on the type of data they are displaying: text, image, barcode ... Objects are also band, page and whole report. The objects may contain one another, they are bound together or stand on the report not bound. Each object has its own properties, which we can change with the help of quick buttons, convenient menus or in the object controller.
The FastReport Designer represents reports as a collection of schematic pages. Objects are placed anywhere on the report pages and are used to define the report's appearance and to display various information, such as text and graphics. FastReport objects which are included in the standard package are:
- “Band” object : an area on a design page which behaves according to its type (e.g. Header band, Data band)
- “Text” object : displays one or more lines of text within a rectangular area
- “Picture” object : displays a graphic file in “BMP,” “JPEG,” “ICO,” “WMF” or “EMF” format
- “Line” object : displays a horizontal or vertical line
- “System text” object : displays either system information (date, time, page number, etc) or aggregate values
- “Subreport” object : allows insertion of another report design page within the host page
- “Draw” category objects : displays various geometrical shapes (diagonal line, rectangle, rounded rectangle, ellipse, triangle and diamond)
- “Chart” object : displays data in various chart formats (pie chart, histogram, etc.)
- “RichText” object : displays text in Rich Text Format (RTF)
- “CheckBox” object : displays a checkbox with either a tick or a cross
- “Barcode” object : displays data as one of several barcode types
- “OLE” object : displays any object using OLE technology.
Properties of graphic objects