SRVGetRichViewEdit Function |
Top Previous Next |
|
Allows RichViewActions working with TSRichViewEdit. Unit SclRView. function SRVGetRichViewEdit(Target: TCustomRichViewEdit; MainDoc: Boolean): TCustomRichViewEdit; This function helps RichViewActions to find the proper RichViewEdit to apply (it may be RichViewEdit, RVHeader or RVFooter property of TSRichViewEdit control). This function must be assigned to RVA_GetRichViewEdit variable defined in RichViewActions.pas: RVA_GetRichViewEdit := SRVGetRichViewEdit; For example, it can be assigned in OnCreate event of the main form, or in the initialization section. See also: •SRVGetRichViewEditFromPopupComponent function |