TrvActionPrintPreview.OnGetPreviewFormClass

Top  Previous  Next

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.


RichView © Sergey Tkachenko