New in v3.0
Related to header and footer
Previously, TSRichViewEdit control contained only one RichViewEdit control (RichViewEdit). Now, there are three of them: RichViewEdit, RVHeader and RVFooter. All of them can be edited. All editing operations must be applied to ActiveEditor, not RichViewEdit. However, file saving and loading operations still must be called for RichViewEdit.
Before loading a file, you need to clear not only RichViewEdit, but also header and footer (loading RVF or RTF does it automatically, but loading text does not).
After loading a file, you need to format all editors:
(update: in newer version, you can use a simpler code:
update 2: since version 6, you must use TSRichViewEdit.Clear and TSRichViewEdit.Format)
The following events have TRichViewEdit control in Sender parameter: OnCurTextStyleChanged, OnCurParaStyleChanged, OnCaretMove (previously, it was TSRichViewEdit). Now all events of TNofifyEvent type have RichViewEdit in Sender parameter, so you can distinguish if it was called from RichViewEdit, RVHeader or RVFooter.
A new text formatting procedure is used, so existing documents may look not exactly like before.
The following properties of TSRVViewProperty are renamed:
New properties of TSRVPageProperty:
New properties of TSRVViewProperty:
New properties and methods of TSRichViewEdit:
•new optional parameter in SetRVMargins
New properties of TSRVBackgroundProperty: