MainRVAControlPanel Global Variable

<< Click to display table of contents >>

MainRVAControlPanel Global Variable

The main control panel for RichViewActions.

Unit RichViewActions;

var MainRVAControlPanel: TRVAControlPanel;

If no other control panels are created, this variable returns a default control panel object (not belonging to any form or datamodule).

If an application contains a single TRVControlPanel on a form, it becomes the main control panel automatically, and MainRVAControlPanel returns this control panel.

Another control panel can be made a main one if you call its Activate method.