Top  Previous  Next

Occurs before inserting image in the target editor.

  TRVAInsertPictureEvent = procedure(Sender: TObject;
    Editor: TCustomRichViewEdit; var Graphic: TGraphic; const FileName: TRVUnicodeString)
    of object;
property OnInserting: TRVAInsertPictureEvent;


Graphic – picture that will be inserted in Editor.

FileName – name of file, from where Graphic was read.

You can:

modify the content of Graphic, or

free Graphic and assign a new graphic object to it, or

free Graphic and assign nil to it (to prevent insertion)

RichViewActions ©