Page 1 of 1

Problem with Header,Footer and Action Paste

Posted: Wed Mar 31, 2010 9:28 am
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

Posted: Wed Mar 31, 2010 5:45 pm
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?