Vcl.Controls.TWinControl.ConstrainedResize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ConstrainedResize(var MinWidth, MinHeight, MaxWidth,  MaxHeight: Integer); override;

C++

virtual void __fastcall ConstrainedResize(int &MinWidth, int &MinHeight, int &MaxWidth, int &MaxHeight);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Generates an OnConstrainedResize event.

ConstrainedResize is called automatically as part of a control's resize sequence. It generates an OnConstrainedResize event, passing in the MinWidth, MinHeight, MaxWidth, and MaxHeight parameters, which can be altered by the event handler before they are applied to the attempted resize.

See Also