Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Próxima revisão | Revisão anterior | ||
manual_usuario:outros:formatadorrelatoriodesenv:fr_15_adjust_dbtext_components [2014/12/17 15:24] administrador criada |
manual_usuario:outros:formatadorrelatoriodesenv:fr_15_adjust_dbtext_components [2015/02/04 11:19] (atual) administrador Aprovado |
||
---|---|---|---|
Linha 7: | Linha 7: | ||
- | =====TUTORIAL DE RELATÓRIOS - B - C===== | + | =====TUTORIAL DE RELATÓRIOS - Usando Regions para componentes dinâmicos de grupos lógicos - Ajustando os componentes DBText===== |
---- | ---- | ||
- | 1. Right-click over the 'Length_In' DBText component and set the DisplayFormat to #,0;-#,0 (the first DisplayFormat in the list). | + | 1. Clique com o botão direito do mouse sobre o componente dbText 'Length_In' e defina a ´propriedade DisplayFormat a #, 0; - #, 0 (o primeiro DisplayFormat na lista). |
- | 2. Select all of the components in this region. | + | 2. Selecione todos os componentes nesta region. |
- | 3. Set the AutoSize property to True in the Object Inspector. | + | 3. Defina a propriedade AutoSize como True no Object Inspector. |
- | 4. Right-click over the white space of the Region and select the ShiftRelativeTo... menu option. | + | 4. Dê um clique com o botão direito sobre o espaço em branco da Region e selecione o ShiftRelativeTo ... opção de menu. |
- | 5. Select the rgMemo region from the drop-down list and then click the OK button. | + | 5. Selecione a region do rgMemo a partir da lista drop-down e, em seguida, clique no botão OK. |
- | **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 | + | **Nota:** Nós definimos a propriedade Stretch do componente DBMemo para True. Isso significa que cada vez que nas impressões do memo, a altura vai expandir ou contrair com base na quantidade de texto no campo Notes. Porque o memo está contido dentro de uma region, a region também vai esticar para acomodar o memo. Quando isso acontece, queremos posicionar os campos contendo os componentes dbText imediatamente abaixo da region do Memo. Fazemos isso, definindo a propriedade ShiftRelativeTo da region de campos para a region do Memo. |
- | 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. | + | |
- | 6. Select File | Save from the Delphi main menu. | + | 6. Selecione "File | Save" no menu Delphi. |
- | 7. Close the Report Designer. | + | 7. Feche o Report Designer. |
- | {{ :manual_usuario:outros:formatador_desenv_2X.png?600 |}} | + | {{ :manual_usuario:outros:formatador_desenv_219.png?600 |}} |