Page 1 of 1

Styles with cxTRichViewEdit

Posted: Wed Aug 17, 2016 5:32 pm
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?

Posted: Thu Aug 18, 2016 8:26 pm
by Sergey Tkachenko
Assign cxTRichViewEdit.Properties.UseStyleTemplates = True

Posted: Fri Aug 19, 2016 12:48 pm
by max.beliy
Thank you Sergey.

Also I want admit that styles dialog has something that is not useful or must be hidden
Image

Posted: Fri Aug 19, 2016 2:58 pm
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.