TrvActionFind search in the TRichView component

General TRichView support forum. Please post your questions here
Post Reply
artsnk
Posts: 1
Joined: Mon Nov 27, 2017 6:46 pm

TrvActionFind search in the TRichView component

Post by artsnk »

Good day.
I'm trying to use the trial version of 16.15.2, the search in the TRichViewEdit component is done successfully, everything is fine.
work example
rv:=TrvActionFind.Create(owner);
rv.ExecuteTarget(RichViewEdit1);
also successfully opens the search dialog via ActionList-RVE Edit-TrvActionList

However, when trying to search in the TRichView dialog does not open, or when using the code
rv:=TrvActionFind.Create(owner);
rv.ExecuteTarget(RichViewEdit1);
an exception occurs.
What am I doing wrong?

Thank you.
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TrvActionFind search in the TRichView component

Post by Sergey Tkachenko »

In the current version, all RichViewActions work only with TRichViewEdit.
You can use read-only TRichViewEdit instead of TRichView (assign ReadOnly = True)
Post Reply