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

TRvRenderPreview. OnZoomChange event (read/write/published)

Top  Previous  Next

Declaration

procedure OnZoomChange(Sender: TObject);

 

Category

Preview

 

Description

This event will be called whenever the current zoom factor changes for the preview screen. This can be useful for updating the current zoom factor on visual controls on the preview screen.

 

NOTE:

If an OnZoomChange event handler is created, it is responsible for redrawing the page by calling RedrawPage.

 

See also

TRvRenderPreview Class, RedrawPage, ZoomIn, ZoomOut

 

Example Delphi

procedure TRpPreviewForm.RvRenderPreview1ZoomChange(Sender: TObject);

var   S1: string[10];

begin

Str(RvRenderPreview1.ZoomFactor:1:1,S1);

ZoomEdit.Text := S1;

RvRenderPreview1.RedrawPage;

end;

 

Example (C++Builder)

void __fastcall TForm1::RvRenderPreview1ZoomChange(TObject *Sender)

{

AnsiString S1;

S1 = FloatToStrF(RvRenderPreview1->ZoomFactor, ffGeneral,1,1);

ZoomEdit->Text = S1;

RvRenderPreview1->RedrawPage();

}



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