TrvActionPrintPreview.OnGetPreviewFormClass

<< Click to display table of contents >>

TrvActionPrintPreview.OnGetPreviewFormClass

Allows defining your own window for a print preview.

type

  TRVGetFormClassEvent = procedure (Sender: TObject;

    var FormClass: TFormClass) of object;

 

property OnGetPreviewFormClass: TRVGetFormClassEvent;

You can return your own form class for a print preview window. This class must be inherited from TfrmRVPreview, otherwise an exception occurs.