RVA_EditForceDefControl Global Variable

Top  Previous  Next

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 TRVAControlPanel.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.


RichView © Sergey Tkachenko