Jump to content


Sakhalin

Member Since 16 Jul 2011
Offline Last Active Mar 31 2025 05:02 PM
-----

Topics I've Started

Cannot set my color in TNxHTMLColumn6

20 March 2025 - 04:06 PM

Hi Boki,
 
please advise what I do wrong when try to set the color of a part of the cell content (S2) in TNxHTMLColumn6?
 
none of the codes below work:
 
Nx.Cells[0,k]:=S1+' '+'<span style="color: #0f00ff;">'+S2+'</span>';
Nx.Cells[0,k]:=S1+' '+'<span class="red-bold">'+S2+'</span>';
Nx.Cells[0,k]:=S1+' '+'<font color="#0000ff">'+S2+'</font>';
 
Bolt style works if use <strong> but color doesn't.
 
Should I do some settings before that?
I sure I am missing something simple.
Use Delphi12.
 
Thanks
Evgeny