|
Top Previous Next |
TRVAControlPanel is the component allowing to change settings for RichViewActions Unit RichViewActions; Syntax TRVAControlPanel = class(TComponent)
DescriptionThis component contains properties affecting many RichViewActions. Main control panelIf 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. LinkingAll 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). PropertiesThe component has the following group of properties: •links to components providing additional functionality: oColorDialog and ColorDialogInterface •properties for customizing user interface: oDialogFontName, DialogFontSize •properties of new documents: •properties controlling all actions: •properties for changing names of file formats: •other properties: EventsIf you use TRVRuler, process OnMarginsChanged. If you want to implement opening, saving, exporting and inserting files in additional formats, use OnCustomFileOperation. |