<< Click to display table of contents >>
|
TRVAControlPanel is the component allowing to change settings for RichViewActions
Unit RichViewActions;
Syntax
TRVAControlPanel = class(TComponent)
TObject TPersistent TComponent |
This component contains properties affecting many RichViewActions.
If the application does not create TRVAControlPanel explicitly, a default control panel is used (accessible as MainRVAControlPanel). If the application contains a single TRVControlPanel, it becomes the main control panel automatically (assigned to MainRVAControlPanel). Another control panel can be made the main one if you call its Activate method.
All actions and many components in RichViewActions have links to a control panel, including:
•TRVStyleTemplateCombo/ListBox.ControlPanel
If this link is not assigned (nil), the action/component uses the main control panel (see above).
The component has the following group of properties:
•links to components providing additional functionality:
oColorDialog and ColorDialogInterface
•properties for customizing user interface:
•properties for dialog windows:
oDialogFontName and DialogFontNameLin
•properties related to end-user help files
•properties of new documents:
•properties controlling all actions:
•properties for changing names of file formats:
•other properties:
If you use TRVRuler, process OnMarginsChanged.
If you want to implement opening, saving, exporting and inserting files in additional formats, use OnCustomFileOperation.
If you want to implement your own dialog for opening pictures, use OnChoosePicture event.