CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


_bm0 Rave Reports Developer Reference

TRvSystem. OnPreviewSetup event (read/write/published)

Top  Previous  Next

Declaration

procedure OnPreviewSetup( Sender: TObject );

 

Category

Preview

 

Description

This will allow you to modify the TRvRenderPreview component on a preview form as well as the preview form itself. Some functions, such as ZoomPageWidthFactor will need to be called in the OnPreviewShow event.

 

NOTE:

OnPreviewSetup is called before the form is shown and TRvRenderPreview is started.

 

See also

TRvSystem Class, OnPreviewShow

 

Example (Delphi)

Procedure TForm1.RvSystem1PreviewSetup( Sender: TObject);

begin

with Sender as TRvRenderPreview do begin

   ZoomFactor := 50;

   with Owner as TForm do begin

     Position := poDesigned;

     Top  := 10;

     Left := 10;

   end; { with }

end; { with }

end;

 

Example (C++Builder)

void __fastcall TForm1::RvSystem1PreviewSetup(TObject *Sender)

{

TRvRenderPreview* fp = dynamic_cast<TRvRenderPreview*>(Sender);

fp->ZoomFactor = 50;

TForm* pf = dynamic_cast<TForm*>(fp->Owner);

fp->Position = poDesigned;

fp->Top = 10;

fp->Left = 10;

}



You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com