Change Font with TRVFontComboBox in v22.4

General TRichView support forum. Please post your questions here
Post Reply
at0306
Posts: 6
Joined: Mon Nov 18, 2024 2:28 pm

Change Font with TRVFontComboBox in v22.4

Post by at0306 »

Hello,

I'm trying to build a simple Editor using TRichViewEdit and Actions.
I used the TRVFontComboBox for Font selection and linked it with the RichViewEdit. But when I select a text
and change the Font Name, the font gets not applied on the Selected text. It's the same with the font size.
What could be the issue?
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Change Font with TRVFontComboBox in v22.4

Post by Sergey Tkachenko »

TRVFontComboBox must be linked with TrvActionFontEx action (https://www.trichview.com/help-actions/ ... fontex.htm)

RVFontComboBox1.Action = rvActionFontEx1;
Post Reply