Essa é uma revisão anterior do documento!
Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)
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 padrão da paleta de componentes Delphi.
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:
4. Adicione o seguinte código ao manipulador de eventos OnClick do botão:
rbRegions.Print;
5. Select Project | Compile rbRGProj. Fix any compilation problems.
5. Selecione Project | Compilar rbRGProj. Corrigir quaisquer problemas de compilação.
6. Select File | Save from the Delphi main menu
7. Run the project..
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 da última página. O relatório deve ser catorze páginas, com dois peixes por página. A fonte Memo e região bottommost devem ser codificados por cores. O relatório deve ser semelhante a este: