SRVGetRichViewEditFromPopupComponent Function

Top  Previous  Next

Allows TRVAPopupMenu component working with TSRichViewEdit.

Unit SclRView.

function SRVGetRichViewEditFromPopupComponent( 

    PopupComponent: TComponent): TCustomRichViewEdit;

Use this function is you use RichViewActions, specifically TRVAPopupMenu component (or its third-party analogs).

This function must be assigned to RVA_GetRichViewEditFromPopupComponent variable defined in RichViewActions.pas:

  RVA_GetRichViewEditFromPopupComponent :=

   SRVGetRichViewEditFromPopupComponent;

Assign this variable before the first use of TRVAPopupMenu component. For example, it can be assigned in OnCreate event of the main form, or in the initialization section.

See also:

SRVGetRichViewEdit function


ScaleRichView © Ilya Zelensky & Sergey Tkachenko