Vcl.Forms.TScrollingWinControl.ChangeScale

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ChangeScale(M, D: Integer); override;

C++

DYNAMIC void __fastcall ChangeScale(int M, int D);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TScrollingWinControl

Description

Resizes the scrolling windowed control by a specific ratio.

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.

See Also