You are reading help file online using chmlib.com
|
Rave Reports Developer Reference TRvSystem. OnPreviewShow event (read/write/published) |
Top Previous Next |
Declaration procedure OnPreviewShow( Sender: TObject );
Category
Description This will allow you to modify the TRvRenderPreview component on the preview form itself.
NOTE: This event is called during the OnShow event of the preview form.
See also TRvSystem Class, OnPreviewSetup
Example (Delphi) Procedure TForm1.RvSystem1PreviewShow( Sender: TObject); begin with Sender as TRvRenderPreview do begin ZoomFactor := ZoomPageWidthFactor; end; { with } end;
Example (C++Builder) void __fastcall TForm1::RvSystem1PreviewShow(TObject *Sender) { TRvRenderPreview* fp = dynamic_cast<TRvRenderPreview*>(Sender); fp->ZoomFactor = fp->ZoomPageWidthFactor; } |
You are reading help file online using chmlib.com
|