Essa é uma revisão anterior do documento!
Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)
TUTORIAL DE RELATÓRIOS - B - C
1. In the private section of the form unit, add the following declaration:
private FPathName: String;
2. Add an event handler for the Form OnCreate event:
3. Add event handlers for each Button's OnClick event:
4. Add event handlers for each Radio Button's OnClick event as shown below.
5. Add ppTypes to the uses clause of your form's unit.
Note: The ppTypes unit contains the declaration for all enumerated types and constants used in ReportBuilder. In this instance, it is needed to support the references to dtPrinter and dtScreen in the preceding button click event handlers.
4. Adicione os manipuladores de eventos para o evento OnClick de cada botão Radio como mostrado abaixo.
5. Adicione ppTypes à cláusula de usos da unidade do seu formulário.
Nota: A unidade ppTypes contém a declaração para todos os tipos enumerados e constantes utilizadas no ReportBuilder. Neste caso, há a necessidade de apoiar as referências a dtPrinter e dtScreen nos manipuladores de eventos anteriores clique de botão.