TrvActionOpen.OnOpenFile

<< Click to display table of contents >>

TrvActionOpen.OnOpenFile

Occurs when the action opened a file.

type

  TRVOpenFileEvent = procedure (Sender: TObject;

    Editor: TCustomRichViewEdit; const FileName: TRVUnicodeString;

    FileFormat: TrvFileOpenFilter; CustomFilterIndex: Integer) of object;

 

property OnOpenFile: TRVOpenFileEvent;

Parameters are the same as in LoadFile method.