kapiaba Posted April 18, 2019 Report Share Posted April 18, 2019 Bom dia!!! No Fast Report quando tenho que destacar a cor de um texto utilizo o Editor de Realce onde, por exemplo, na aba Destaque coloco a Condição, CampoX < 1000 e seleciono a cor da Fonte desejada. Mas no caso de eu ter 3 situações, por exemplo, Se CampoX for maior que CampoY use a cor Azul Se CampoX for menor que CampoY use a cor Vermelho Se campoX for igual ao CampoY use a cor Preto Tens uma dica de como proceder ? Toya. Quote Link to comment Share on other sites More sharing options...
Marca Posted April 18, 2019 Report Share Posted April 18, 2019 Tem que ser via código Peça pra me chamar no Skype q. tento conectar e mostrar a ele como fazer Quote Link to comment Share on other sites More sharing options...
kapiaba Posted April 18, 2019 Author Report Share Posted April 18, 2019 Many thanks. O Toya confirmou que foi resolvido. Quote Link to comment Share on other sites More sharing options...
Marca Posted April 18, 2019 Report Share Posted April 18, 2019 Many thanks. O Toya confirmou que foi resolvido. Show de bola. Quote Link to comment Share on other sites More sharing options...
toya Posted April 19, 2019 Report Share Posted April 19, 2019 Mui grato a todos os colegas.... ... Consegui resolver de uma maneira simples e lusitana: Na montagem da tabela com os dados para impressão criei 6 campos (CORCOL01, CORCOL02, CORCOL03, CORCOL04, CORCOL05, CORCOL06), onde 1=cor azul ($FF0000), 2=cor vermelha ($0000FF) e 3=cor preta ($000000). Na aba "Código->Linguagem: PascalScript: begin if (<DBFFR3."CORCOL01"> = 1) then LinhaDetalhe072.Font.Color := $FF0000; if (<DBFFR3."CORCOL01"> = 2) then LinhaDetalhe072.Font.Color := $0000FF; if (<DBFFR3."CORCOL01"> = 3) then LinhaDetalhe072.Font.Color := $000000; if (<DBFFR3."CORCOL02"> = 3) then LinhaDetalhe082.Font.Color := $000000; if (<DBFFR3."CORCOL02"> = 2) then LinhaDetalhe082.Font.Color := $0000FF; if (<DBFFR3."CORCOL02"> = 1) then LinhaDetalhe082.Font.Color := $FF0000; if (<DBFFR3."CORCOL03"> = 1) then LinhaDetalhe092.Font.Color := $FF0000; if (<DBFFR3."CORCOL03"> = 2) then LinhaDetalhe092.Font.Color := $0000FF; if (<DBFFR3."CORCOL03"> = 3) then LinhaDetalhe092.Font.Color := $000000; if (<DBFFR3."CORCOL04"> = 1) then LinhaDetalhe102.Font.Color := $FF0000; if (<DBFFR3."CORCOL04"> = 2) then LinhaDetalhe102.Font.Color := $0000FF; if (<DBFFR3."CORCOL04"> = 3) then LinhaDetalhe102.Font.Color := $000000; if (<DBFFR3."CORCOL05"> = 1) then LinhaDetalhe112.Font.Color := $FF0000; if (<DBFFR3."CORCOL05"> = 2) then LinhaDetalhe112.Font.Color := $0000FF; if (<DBFFR3."CORCOL05"> = 3) then LinhaDetalhe112.Font.Color := $000000; if (<DBFFR3."CORCOL06"> = 1) then LinhaDetalhe122.Font.Color := $FF0000; if (<DBFFR3."CORCOL06"> = 2) then LinhaDetalhe122.Font.Color := $0000FF; if (<DBFFR3."CORCOL06"> = 3) then LinhaDetalhe122.Font.Color := $000000; end. Theotokos 1 Quote Link to comment Share on other sites More sharing options...
kapiaba Posted December 8, 2022 Author Report Share Posted December 8, 2022 Ladinilson, testa ahi por favor. Qualquer coisa, chame o TOYA, manja pra kray(). Abs. Regards, saludos. Quote Link to comment Share on other sites More sharing options...
Ladinilson Posted December 10, 2022 Report Share Posted December 10, 2022 Em 08/12/2022 at 10:01, kapiaba disse: Ladinilson, testa ahi por favor. Qualquer coisa, chame o TOYA, manja pra kray(). Abs. Regards, saludos. Boa Kapi, vou fazer! Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.