New in v5.0
|Top Previous Next|
TSRichViewEdit.CurControl now works according to the documentation: this is a focused control inside TSRichViewEdit. Previously, this property may be changed to the control at the position of the caret. Use the new event OnChangeCurrentControl to detect when this property is changed.
TSRichViewEdit.ScrollToItem has new parameters. They are optional, but for old versions of C++Builder they must be specified.
The following code is not needed an must be removed from existing projects:
RVA_GetRichViewEdit := SRVGetRichViewEdit
If UseStyleTemplates=True, TsrvActionInsertFootnote formats note characters using 'footnote reference' (or, if it does not exist, make it superscript like before), footnote text using 'footnote text' (or, if it does not exist, uses TsrvActionInsertFootnote.Font like before).
TsrvActionInsertEndnote uses 'endnote reference' and 'endnote text' styles.
You can assign TSRichViewEdit component to Control property of actions inherited from TrvAction (previously, only TRichViewEdit could be assigned). This assignment can be made at a design time.
Font combo-boxes (TRVFontComboBox, TRVFontSizeComboBox, TRVFontCharsetComboBox) do not require additional code any more. They work automatically, if TSRichViewEdit control is assigned to their Editor property (TrvActionFontEx action must be assigned to their ActionFont property as well).
You do not need to call the following code any more:
•RVA_GetRichViewEditFromPopupComponent := SRVGetRichViewEditFromPopupComponent;
•RVA_GetRichViewEdit := SRVGetRichViewEdit;
• SRichViewEdit1.SetRVMargins in TRVAControlPanel.OnMarginsChanged
Zooming and page arrangement
New TSRichViewEdit.OnPrinting event.
ScaleRichView © trichview.com