Essa é uma revisão anterior do documento!
Formatador de Relatório - ReportBuilder (Resumo do guia do desenvolvedor)
TUTORIAL DE RELATÓRIOS - B - C
1. Right-click over the 'Length_In' DBText component and set the DisplayFormat to #,0;-#,0 (the first DisplayFormat in the list).
2. Select all of the components in this region.
3. Set the AutoSize property to True in the Object Inspector.
4. Right-click over the white space of the Region and select the ShiftRelativeTo… menu option.
5. Select the rgMemo region from the drop-down list and then click the OK button.
Note: We set the Stretch property of the DBMemo component to True. That means that each time the memo prints, the height will expand or contract based on the amount of text in the Notes field. Because the memo is contained within a region, that region will also stretch to accommodate the memo. When that happens, we want to position the fields containing the DBText components immediately below the Memo region. We do this by setting the ShiftRelativeTo property of the Fields region to the Memo region.
1. Botão direito do mouse sobre o componente dbText 'Length_In' e definir o DisplayFormat a #, 0; - #, 0 (o primeiro DisplayFormat na lista).
2. Selecione todos os componentes nesta região.
3. Defina a propriedade AutoSize como True no Object Inspector.
4. Dê um clique direito sobre o espaço em branco da região e selecione o ShiftRelativeTo … opção de menu.
5. Selecione a região de rgMemo a partir da lista drop-down e, em seguida, clique no botão OK.
Nota: Nós definir a propriedade Stretch do componente DBMemo para True. Isso significa que cada vez que as cópias do memorando, a altura vai expandir ou contrair com base na quantidade de texto no campo Notes. Porque o memo está contido dentro de uma região, a região também vai esticar para acomodar o memorando. Quando isso acontece, queremos posicionar o campos contendo os componentes dbText imediatamente abaixo da região Memo. Fazemos isso, definindo a propriedade ShiftRelativeTo da região de Campos para a região de Memo.
6. Select File | Save from the Delphi main menu.
7. Close the Report Designer.