Show or hide menuTRichView.com
Actions
    RichViewActions
       FAQ
Components
    RichViewXML
    DevExpress
Spell checkers
Reporting tools
    ReportBuilder
Other Resources
Plug-ins

  Additional Resources: Actions

Frequently Asked Questions about RichViewActions

Q: Why is action rvActionPageSetup always disabled?

A: Place the TRVPrint component on your form. Assign it to RVAControlPanel.RVPrint (if you do not have TRVAControlPanel component of form, create it). RVPrint is required because it defines margins.


Q: After saving formatted data from the TDBRichView and then reading it back, the control displays the RVF code eg.
-8 1 3
6 1 0 0 0 0
This is a test.

Q: When I read saved document all formatting is lost.

Q: The Editor cannot read saved document.

A: Right-click RichViewEdit in Delphi, choose Settings in the context menu, set Allow adding styles dynamically (since v1.8, this option must be set by default).
After that, collections of styles (defining character and paragraph formatting) will be saved in documents.
If you use TDBRichViewEdit, also set AutodeleteUnusedStyles property to True.


Q: I included dmActions.pas in my project, but when I access any of its action in Form.OnCreate, an access violation error occurs.

A: Make sure that this datamodule is created before the main form.
Menu Project | Options, tab Forms. Move rvActionsResource to the top of the list of auto-created forms.


Q: How can I read or change page-setup properties (header and footer, margins, page size and orientation, paper source)?

A: Answer