How to get current Font.Name?

General TRichView support forum. Please post your questions here
Post Reply
PeterPanino
Posts: 57
Joined: Tue Jul 13, 2010 10:50 pm

How to get current Font.Name?

Post by PeterPanino »

TRichViewEdit 16.15.10

How can I get the Font.Name at the caret?

I would like to show the current font name in the status bar.
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Re: How to get current Font.Name?

Post by Ceprotec »

Code: Select all

rv.Style.TextStyles[rv.CurTextStyleNo].FontName
it might be useful: http://www.trichview.com/help/index.htm ... anged.html
PeterPanino
Posts: 57
Joined: Tue Jul 13, 2010 10:50 pm

Re: How to get current Font.Name?

Post by PeterPanino »

Thank you - this works very well!
Post Reply