<< Click to display table of contents >> TRVAControlPanel |
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 an application does not contain TRVAControlPanel on a form, a default control panel is used (accessible as MainRVAControlPanel). If an application contains a single TRVControlPanel on a form, it becomes the main control panel automatically (assigned to MainRVAControlPanel). Another control panel can be made a 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:
•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.