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
Próxima revisão
Revisão anterior
manual_usuario:outros:formatadorrelatoriodesenv:fr_04_font_color [2014/12/11 12:56]
administrador Aprovado
manual_usuario:outros:formatadorrelatoriodesenv:fr_04_font_color [2015/01/08 13:55] (atual)
administrador Aprovado
Linha 7: Linha 7:
  
  
-=====CÓDIGO - Configuração dinâmica - Font Color=====+=====CÓDIGO - Configuração dinâmica - Cor da fonte=====
 ---- ----
  
-The event handler below is assigned to the OnPrint ​event of a DBText ​componentWhen the component printsthe current value of the PRICE_CHG ​field is checked. If this value is less than zero, the component prints in redotherwisethe component prints in black.+O evento ​OnPrint ​abaixo é atribuído para um componente ​DBText. ​Nas impressõesquando o valor atual do campo PRICE_CHG ​está marcada: Se este valor for inferior a zero, a cor da fonte será em vermelhocaso contrárioem preto.
  
-It is important to note that the font color is set to the appropriate color every time the component printsIf the code below simply set the font color to red when the value was negativethen the first negative value would print in red and all subsequent values would print in redregardless of the sign of the valueWhen setting report component +É importante notar que a cor da fonte é definida para cada impressão do componenteSe o código abaixo simplesmente definisse a cor da fonte para vermelho quando o valor fosse negativoentão o primeiro valor negativo iria imprimir em vermelho e todos os valores subsequentes iriam imprimir em vermelhoindependentemente do sinal do valorAo definir as propriedades do componente relatóriolembre-se de lidar com todos os casos possíveis.
-propertiesremember to handle all cases, as components remain in any state to which they are set.+
  
 {{ :​manual_usuario:​outros:​formatador_desenv_9.png?​600 |}} {{ :​manual_usuario:​outros:​formatador_desenv_9.png?​600 |}}