Diferenças

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

Link para esta página de comparações

Ambos lados da revisão anterior Revisão anterior
manual_usuario:outros:formatadorrelatoriodesenv:fr_11_preview_report_run_time [2015/01/20 15:41]
administrador
manual_usuario:outros:formatadorrelatoriodesenv:fr_11_preview_report_run_time [2015/01/22 13:18] (atual)
administrador Aprovado
Linha 10: Linha 10:
 ---- ----
  
-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:
- +
-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 "File | Save" ​a partir do menu principal Delphi.
- +
-7. Run the Project. +
- +
-8. Click on the Preview button. The DeviceType property of the report component defaults to Screen; thus, the report automatically displays the Print Preview form when the Print method is called. The Preview form should look like this: +
- +
- +
-6. Selecione Arquivo | Salvar ​a partir do menu principal Delphi.+
  
-7. executar ​o projeto.+7. Executar ​o projeto.
  
-8. Clique no botão Preview. A propriedade DeviceType ​dos padrões de componentes relatório ​para a tela; Assim, o relatório mostra automaticamente a impressão ​forma de visualização ​quando o método de impressão é chamado. A forma de visualização deve ficar assim:+8. Clique no botão Preview. A propriedade DeviceType ​padrão ​para o componente report é Screen; Assim, o relatório mostra automaticamente a visualização da impressão quando o método de impressão é chamado. A forma de visualização deve ficar assim:
  
 {{ :​manual_usuario:​outros:​formatador_desenv_138.png?​600 |}} {{ :​manual_usuario:​outros:​formatador_desenv_138.png?​600 |}}