rvacontrolpanel TRVAControlPanel

Properties   Events

Top  Previous  Next

TRVAControlPanel is the component allowing to change settings for RichViewActions

Unit RichViewActions;

Syntax

TRVAControlPanel = class(TComponent)

Hierarchy

TObject

TPersistent

TComponent

Description

This is a very special component: it changes values of global variables.

When you assign a property or an event of this component, you simply assign a value to a global variable.

This design has the following consequences:

you must have no more than one instance of this component in a project, preferably on the main form;

when editing units in Delphi IDE, do not open two forms containing this component at the same time.

The component has the following group of properties:

links to components providing additional functionality:

oColorDialog

oIdHTTP

oClHTTP

oRVAddictSpell3

oRVAddictThesaurus3

oRVHTMLImporter

oRVHTMLViewImporter

oRVPrint

oRVXML

properties for customizing user interface:

oLanguage

oAddColorNameToHints

oUserInterface

oUseXPThemes

oDialogFontName, DialogFontSize

oUnitsDisplay, PixelBorders

oUseHelpFiles

properties of new documents:

oDefaultColor

oDefaultCustomFilterIndex

oDefaultExt

oDefaultFileFormat

oDefaultFileName

oDefaultMargin

oDefaultDocParameters

properties controlling all actions:

oDefaultControl

oActionsEnabled

properties for changing names of file formats:

oRVFFilter

oRVFLocalizable

oRVFormatTitle

oXMLFilter

oXMLLocalizable

other properties:

oAutoDeleteUnusedStyles

oFirstPageNumber

oSearchScope

oShowSoftPageBreaks

oTableGridStyle

oUseTextCodePageDialog

Events

If you use TRVRuler, process OnMarginsChanged.

If you want to implement opening, saving, exporting and inserting files in additional formats, use OnCustomFileOperation.


RichView © Sergey Tkachenko