Essa é uma revisão anterior do documento!


Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)


1. Select the Standard tab of the Delphi component palette.

2. Add a Button component to the form.

3. Configure the Button component:

Name btnPreview
Caption Preview

4. Add the following code to the OnClick event handler of the button: rbFormEmu.Print;

5. Select Project | Compile rbFEProj. Fix any compilation problems.

6. Select File | Save from the Delphi main menu.

7. Run the project.

8. Click on the Preview button. The report should be displayed in the Print Preview form. The report should look like this: