RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TScrollingWinControl.ChangeScale Method

Resizes the scrolling windowed control by a specific ratio.

Pascal
procedure ChangeScale(M: Integer; D: Integer); override;
C++
virtual __fastcall ChangeScale(int M, int D);

Use ChangeScale to resize the scrolling windowed control by a specific ratio. 

M is the multiplier of the ratio; D is the divisor of the ratio. For example, to resize the scrolling windowed control to four-fifths of its current size, set M to four and D to five. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!