PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WEBDEV 2024 → lighten the color of background color in a table row
lighten the color of background color in a table row
Iniciado por Joel Waldron, jun., 08 2023 9:45 PM - 3 respostas
Publicado em junho, 08 2023 - 9:45 PM
HI All -

Is there a way to lighten the color of table row when using ..Background color? The isn't an ..opacity option in the list. The colors are too bold and make it like the table is screaming at you instead of just lightly highlighting som info.

Thank you!
Membro registado
68 mensagems
Publicado em junho, 17 2023 - 2:59 AM
Since you mention ..background, I have to ask - are you changing the color from code or the editor?
In the editor, you can alter the color to anything you want in the Style tab - remember that you have to recolor each element in the table even though there is a table background color, each element overlays the background.
In code too, you can set any color - TABLE_DETAIL..BackgroundColor = RGB(173, 246, 228)
or color a row - TABLE_DETAIL[2]..BackgroundColor = RGB(173, 246, 228)
You can create your own color equates in the global code
CONSTANT //custom colors
cc_mint = 0x6CE7CF
cc_cornflower = 0x6AC7E9
END

I hope this helps

--
Sometimes waiting is the best way forward...
Publicado em agosto, 01 2023 - 4:40 AM
CCordes wrote:
Since you mention ..background, I have to ask - are you changing the color from code or the editor?
In the editor, you can alter the color to anything you want in the Style tab - remember that you have to recolor each element in the table even though there is a table background color, each element overlays the background.
In code too, you can set any color - TABLE_DETAIL..BackgroundColor = RGB(173, 246, 228)
or color a row - TABLE_DETAIL[2]..BackgroundColor = RGB(173, 246, 228)
You can create your own color equates in the global code
CONSTANT //custom colors
cc_mint = 0x6CE7CF
cc_cornflower = 0x6AC7E9
END

I hope this helps

--
Sometimes waiting is the best way forward...


To add a little to that.
In the editor as soon as you type "RGB(" you will prompt with the word "Wizard", click on that word and you will
be presented with the color wizard. There you can visually select the color you want.

Best regards,
Carlos
Membro registado
1 mensagem
Publicado em setembro, 10 2023 - 9:56 PM
Thanks for sharing this information.