Search found 4 matches

by svinson
Fri Mar 03, 2023 6:07 pm
Forum: Support
Topic: How to specify default font when printing HTML with TRichView v21.0
Replies: 6
Views: 8547

Re: How to specify default font when printing HTML with TRichView v21.0

Based on your response, I searched your source code to see RVDefReadProps.pas in the TRichView\Source folder. Looking in that unit, I see the setter property DefaultFontName. With the parent class being the singleton that you mentioned, I see in the Initialization section of that unit the code ...
by svinson
Thu Mar 02, 2023 10:04 pm
Forum: Support
Topic: How to specify default font when printing HTML with TRichView v21.0
Replies: 6
Views: 8547

Re: How to specify default font when printing HTML with TRichView v21.0

Note: in my code sample above, I temporarily tried changing the font to "Tahoma", simply to see if I could induce any changes. My original intent is to use "Arial". I just want to learn how to set the font to something OTHER than the default Times Roman font.
by svinson
Thu Mar 02, 2023 10:00 pm
Forum: Support
Topic: How to specify default font when printing HTML with TRichView v21.0
Replies: 6
Views: 8547

How to specify default font when printing HTML with TRichView v21.0

I have updated to the latest TRichView v21.0. I have two components dropped into my Delphi form: [list]RichView1 RVStyle1[/list] I then set RichView1.Style to RVStyle1 I then have the following function to display HTML: [code]procedure TMyForm.renderHtml( const htmlMsg : string ); var s ...