Hyperlink Underline Color
Posted: Wed Jan 21, 2026 10:10 pm
Sergey,
Using styletemplates, I was able to get the hyperlink text color to change using this:
But no matter what I do, I can't get the underline color to change. Can you tell me how to do that?
Thanks
Stan
Using styletemplates, I was able to get the hyperlink text color to change using this:
Code: Select all
i := RVEFilervActionNew1.StyleTemplates.FindByName(RVHYPERLINKSTYLETEMPLATENAME);
RVEFilervActionNew1.StyleTemplates[i].ValidTextPropertiesEditor :=
'[rvfiUnderline,rvfiColor,rvfiJump,rvfiUnderlineColor]';
RVEFilervActionNew1.StyleTemplates[i].TextStyle.Color := clWindowText;
RVEFilervActionNew1.StyleTemplates[i].TextStyle.UnderlineColor := clAqua;
rve.Style.StyleTemplates := RVEFilervActionNew1.StyleTemplates;
rve.RVData.DoStyleTemplatesChange;Thanks
Stan