Styles with cxTRichViewEdit

General TRichView support forum. Please post your questions here
Post Reply
max.beliy
Posts: 26
Joined: Tue Jul 12, 2016 11:35 pm

Styles with cxTRichViewEdit

Post by max.beliy »

I'm trying to use styles for
cxTRichViewEdit like in Demos\Delphi\ActionTest\ActionTest.exe

but buttons with actions: rvActionStyleTemplates1 and rvActionAddStyleTemplate1 are disabled.

Code: Select all

RVAControlPanel1.DefaultControl := cxTRichViewEdit1.InnerEditor;
rvActionStyleTemplates1.ControlPanel := RVAControlPanel1;
I do something wrong or styles are not supported for cxRVE?
Sergey Tkachenko
Site Admin
Posts: 17288
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Assign cxTRichViewEdit.Properties.UseStyleTemplates = True
max.beliy
Posts: 26
Joined: Tue Jul 12, 2016 11:35 pm

Post by max.beliy »

Thank you Sergey.

Also I want admit that styles dialog has something that is not useful or must be hidden
Image
Sergey Tkachenko
Site Admin
Posts: 17288
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You should update your version of TRichView.
In one recent updates, there was a bug with TRichView.Visible not working, if set at designtime.
Post Reply