Problem with Header,Footer and Action Paste

General TRichView support forum. Please post your questions here
Post Reply
intes
Posts: 6
Joined: Mon Dec 14, 2009 7:19 am
Location: kiev
Contact:

Problem with Header,Footer and Action Paste

Post by intes »

Good day!
In TSRichViewEdit loaded document with headers and footers (RVHeader, RVFooter). When I try to insert into document from clipboard action Paste, the contents of header and footer disappear.
The problem occurs when a fragment is copied from the external program MS Word, Wordpad ... etc..
When I work with the Clipboard inside TSRichViewEdit - all worked correctly (the contents of headers and footers does not change).
Help solve the problem.

Events OnCopy, OnPaste not used,
version TSRichViewEdit 3.0.2

Thanks
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Did you call

Code: Select all

RVA_GetRichViewEdit := SRVGetRichViewEdit;   
one time when the application starts (for example, in the initialization form of the main form's unit).
If not, add this line.
Did it help?
Post Reply