Hello Sergey
I inserted a code in DBSRichViewEdit1StyleConversion to add this, but it didn't work.
TEXT_SUBLINHADO_ESP: Begin
FontInfo.UnderlineType := SubTipoLinha;
FontInfo.UnderlineColor := SubTipoCor;
end;
this is from my button:
SubTipoLinha := rvutThickDashDotDotted;
SubTipoCor := clRed;
DBSRichViewEdit1.RichViewEdit.ApplyStyleConversion(13);
Could you give me an example how to work with it in your example?
http://www.trichview.com/support/files/reditss.zip
thanks
ALex
how to work with UnderlineType?
-
- Site Admin
- Posts: 17572
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Code: Select all
TEXT_SUBLINHADO_ESP: Begin
FontInfo.UnderlineType := SubTipoLinha;
FontInfo.UnderlineColor := SubTipoCor;
[color=red]FontInfo.Style := FontInfo.Style+[fsUnderline];[/color]
end;
-
- Posts: 184
- Joined: Wed Jan 18, 2012 6:22 pm