RVA_EditForceDefControl Global Variable

<< Click to display table of contents >>

RVA_EditForceDefControl Global Variable

Specifies a priority of non-TCustomRichViewEdit editors for editing actions.

var

  RVA_EditForceDefControl: Boolean = False;

By default, focused non-TCustomRichViewEdit controls have higher priority in editing actions (such as Cut, Copy, Paste) than Control or GetControlPanel.DefaultControl properties.

For example, in the ActionTest demo, if you select text in the font name combo box and press  Ctrl + X , the selected text from this combo box will be cut to the Clipboard, the action ignores RVAControlPanel1.DefaultControl=RichViewEdit1.

If you want to change this priority, assign RVA_EditForceDefControl := True.