Diferenças

Aqui você vê as diferenças entre duas revisões dessa página.

Link para esta página de comparações

Próxima revisão
Revisão anterior
manual_usuario:outros:formatadorrelatoriodesenv:fr_11_preview_report_run_time [2014/12/16 14:17]
administrador criada
manual_usuario:outros:formatadorrelatoriodesenv:fr_11_preview_report_run_time [2015/01/22 13:18] (atual)
administrador Aprovado
Linha 7: Linha 7:
  
  
-=====TUTORIAL DE RELATÓRIOS - C=====+=====TUTORIAL DE RELATÓRIOS - Criando um relatório via árvore de dados Visualizar o relatório em tempo de execução=====
 ---- ----
  
-1. Close the Report Designer ​window.+1. Feche a janela do Report Designer.
  
-2. Select the Standard ​tab of the Delphi ​component palette.+2. Selecione a guia Standard ​da paleta de componentes do Delphi.
  
-3. Add a Button ​component to the form.+3. Adicione o 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:
  
   rbCustomerList.Print;​   rbCustomerList.Print;​
  
-6. Select ​File | Save from the Delphi main menu.+6. Selecione "File | Save" a partir do menu principal Delphi.
  
-7. Run the Project.+7. Executar o projeto.
  
-8. Click on the Preview ​buttonThe DeviceType ​property of the report ​component defaults to Screen; ​thusthe report automatically displays the Print Preview form when the Print method is calledThe Preview form should look like this:+8. Clique no botão ​Preview. ​A propriedade ​DeviceType ​padrão para o componente ​report ​é Screen; ​Assimo relatório mostra automaticamente a visualização da impressão quando o método de impressão é chamadoA forma de visualização deve ficar assim:
  
 {{ :​manual_usuario:​outros:​formatador_desenv_138.png?​600 |}} {{ :​manual_usuario:​outros:​formatador_desenv_138.png?​600 |}}