TRVAControlPanel.DefaultControl

Top  Previous  Next

Specifies the editor component for using in RichViewActions.

property DefaultControl: TCustomRVControl;

If this link is defined, all actions inherited from TrvAction (and linked with this control panel) work with this editor. This property can be overridden by Control property of the specific action.

Controls of the following types can be assigned to this property:

TRichViewEdit

TDBRichViewEdit

TSRichViewEdit (ScaleRichView)

TDBSRichViewEdit (ScaleRichView)

If this link (and action.Control property) is not assigned, the action works with the editor component having the input focus, or, if an editor component is not focused, with the first found editor component.


RichViewActions © trichview.com