Vcl.StdCtrls.TCustomComboBox.ChangeScale

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

DYNAMIC void __fastcall ChangeScale(int M, int D, bool isDpiChange)/* overload */;
DYNAMIC inline void __fastcall  ChangeScale(int M, int D){ Vcl::Controls::TControl::ChangeScale(M, D); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomComboBox

Description


Resize and reposition children and self.

Vcl.StdCtrls.TCustomComboBox.ChangeScale inherits from Vcl.Controls.TWinControl.ChangeScale. All content below this line refers to Vcl.Controls.TWinControl.ChangeScale.

Resize and reposition children and self.

ChangeScale rescales the control in the same manner as the ChangeScale method in TControl. If the control contains any children, their ChangeScale methods are called before the parent itself is rescaled.

To rescale the control's children without rescaling the control itself, use ScaleControls. To rescale the control without repositioning, use ScaleBy.

See Also