TRVDataSourceLink.Editor

<< Click to display table of contents >>

TRVDataSourceLink.Editor

A TRichView or ScaleRichView component that contains (or will contain) data-aware controls.

property Editor: TCustomRVControl;

When a new data-aware control is inserted in Editor, this component assigns DataSource to its DataSource property.

If you want to change DataSource of controls that are already in Editor, call Execute.

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

TRichView

TRichViewEdit

TDBRichView

TDBRichViewEdit

TSRichViewEdit (from ScaleRichView)

TDBSRichViewEdit (from ScaleRichView)

Only one TRVDataSourceLink component can be linked an editor. If you assign an editor that already has another TRVDataSourceLink component assigned, an exception occurs.

srv_icon ScaleRichView note: if a ScaleRichView component is assigned to this property, TRVDataSourceLink handles only controls in its main editor (RichViewEdit property), not in its headers, footers or notes.