Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Próxima revisão | Revisão anterior | ||
manual_usuario:outros:formatadorrelatoriodesenv:fr_15_preview_report_run_time [2014/12/17 15:31] administrador criada |
manual_usuario:outros:formatadorrelatoriodesenv:fr_15_preview_report_run_time [2015/02/03 15:58] (atual) administrador Aprovado |
||
---|---|---|---|
Linha 7: | Linha 7: | ||
- | =====TUTORIAL DE RELATÓRIOS - B - C===== | + | =====TUTORIAL DE RELATÓRIOS - Usando Regions para componentes dinâmicos de grupos lógicos - Visualize o relatório em tempo de execução===== |
---- | ---- | ||
- | 1. Select the Standard tab of the Delphi component palette. | + | 1. Selecione a guia Standard da paleta de componentes do Delphi. |
- | 2. Add a Button component to the form. | + | 2. Adicione o componente Button ao form. |
- | 3. Configure the Button component: | + | 3. Configure o componente Button: |
Name btnPreview | Name btnPreview | ||
Caption Preview | Caption Preview | ||
- | 4. Add the following code to the OnClick event handler of the button: | + | 4. Adicione o seguinte código ao evento OnClick do botão: |
rbRegions.Print; | rbRegions.Print; | ||
- | 5. Select Project | Compile rbRGProj. Fix any compilation problems. | + | 5. Selecione "Project | Compile rbRGProj". Corrija quaisquer problemas de compilação. |
- | 6. Select File | Save from the Delphi main menu | + | 6. Selecione "File | Save" no menu do Delphi |
- | 7. Run the project.. | + | 7. Execute o projeto.. |
- | 8. Click on the Preview button. Click the Last Page icon . The report should be fourteen pages, with two fish per page. The Memo font and the bottommost region should be color-coded. The report should look like this: | + | 8. Clique no botão Preview. Clique no ícone Last Page. O relatório deve ser catorze páginas, com dois peixes por página. A fonte do Memo e o inferior do region devem ser codificados por cores. O relatório deve ser semelhante a este: |
- | {{ :manual_usuario:outros:formatador_desenv_222.png?600 |}} | + | {{ :manual_usuario:outros:formatador_desenv_222.png?75 |}} |
{{ :manual_usuario:outros:formatador_desenv_223.png?600 |}} | {{ :manual_usuario:outros:formatador_desenv_223.png?600 |}} | ||
- | |||