|
The report component is supplied with an embedded designer,
which can be called in design-time by double-clicking on the
TfrxReport component. The designer provides the user with all the
tools for designing a report’s appearance, along with the ability
of simultaneous previewing. Designer’s interface meets up-to-date
requirements. It contains several toolbars, which can be docked
wherever you want. The information about bar’s location, along with
all other designer settings is stored in a ini-file, if one is
assigned, or in the registry, and is restored each time you launch
the designer.
To give the end user of your project the ability to design
reports, you should either add the “TfrxDesigner” component from
the FastReport component palette, or add the “frxDesgn” unit into
the uses list. Using the designer in run-time allows a user to set
the report’s appearance, as well as the ability to edit a finished
report.
Note: you should also
add any other additional Tfrx components you will use to the Delphi
form as well.
In the picture, denoted with numbers:
1 – report
design work space;
2 – menu
bar;
3 –
toolbars;
4 – object's
toolbar;
5 – report
pages’ tabs;
6 – “Report
tree” window;
7 – “Object
inspector” window;
8 – “Data tree”
window. You can drag elements to a report page from this
window;
9 – rulers. When
dragging a ruler to a report page, the guide line (which objects
can be adhered to) appears;
10 – status
line.
|