Essa é uma revisão anterior do documento!
Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)
TUTORIAL DE RELATÓRIOS - B - C
1. Close the Report Designer window.
2. Select the Standard tab of the Delphi component palette.
3. Add a Button component to the form.
4. Configure the Button component:
Name btnPreview Caption Preview
5. Add the following code to the OnClick event handler of the button:
5. Adicione o seguinte código ao manipulador de eventos OnClick do botão:
rbCustomerList.Print;
6. Select File | Save from the Delphi main menu.
7. Run the Project.
8. Click on the Preview button. The DeviceType property of the report component defaults to Screen; thus, the report automatically displays the Print Preview form when the Print method is called. The Preview form should look like this:
6. Selecione Arquivo | Salvar a partir do menu principal Delphi.
7. executar o projeto.
8. Clique no botão Preview. A propriedade DeviceType dos padrões de componentes relatório para a tela; Assim, o relatório mostra automaticamente a impressão forma de visualização quando o método de impressão é chamado. A forma de visualização deve ficar assim: