Page 1 of 1

richviewactions, TRichView

Posted: Mon Feb 04, 2008 5:32 pm
by tors
I am download subj.
How too TRVFontComboBox associate with RichViewEdit?

Posted: Tue Feb 05, 2008 11:28 am
by Sergey Tkachenko
First, turn of autocompletion:
cmbFont.AutoComplete := False;

In RichViewEdit1.OnCurTextStyleChanged, assign the current text style to cmbFont.Text.
In cmbFont.OnClick, apply the chosen font (using rvActionFontEx).

You can see how it is implemented in the ActionTest demo.