Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Ambos lados da revisão anterior Revisão anterior Próxima revisão | Revisão anterior | ||
manual_usuario:outros:formatadorrelatoriodesenv:fr_13_preview_report_run_time [2015/01/07 12:04] administrador |
manual_usuario:outros:formatadorrelatoriodesenv:fr_13_preview_report_run_time [2015/01/23 16:21] (atual) administrador Aprovado |
||
---|---|---|---|
Linha 7: | Linha 7: | ||
- | =====TUTORIAL DE RELATÓRIOS - B - C===== | + | =====TUTORIAL DE RELATÓRIOS - Criando um simples relatório - Visualize o relatório em tempo de execução===== |
---- | ---- | ||
- | 1. Close the Report Designer. | + | 1. Feche o Report Designer. |
- | 2. Select the Standard tab of the Delphi component palette. | + | 2. Selecione a guia Standard na paleta de componentes do Delphi. |
- | 3. Add a Button component to the form. | + | 3. Adicione um componente Button no form. |
- | 4. Configure the Button component: | + | 4. Configure o componente Button: |
Name btnPreview | Name btnPreview | ||
Caption Preview | Caption Preview | ||
- | 5. Add the following code to the OnClick event handler of the button: | + | 5. Adicione o seguinte código ao evento OnClick do botão: |
- | + | ||
- | 5. Adicione o seguinte código ao manipulador de eventos OnClick do botão: | + | |
rbCustomerList.Print; | rbCustomerList.Print; | ||
- | 6. Select File | Save from the Delphi main menu. | + | 6. Selecione no Delphi a opção de menu "File | Save". |
- | + | ||
- | 7. Run the Project. | + | |
- | 8. Click on the Preview button. The report will be displayed in the Print Preview form: | + | 7. Execute o projeto. |
8. Clique no botão Preview. O relatório será apresentado sob a forma de visualização de impressão: | 8. Clique no botão Preview. O relatório será apresentado sob a forma de visualização de impressão: |