Vcl.ActnCtrls.TCustomComboControl.SetBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetBounds(ALeft: Integer; ATop: Integer; AWidth: Integer;  AHeight: Integer); override;

C++

virtual void __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ActnCtrls.pas
Vcl.ActnCtrls.hpp
Vcl.ActnCtrls TCustomComboControl

Description

Sets the Left, Top, Width, and Height properties all at once.

Use SetBounds to change all of the component's boundary properties at one time. The same effect can be achieved by setting the Left, Top, Width, and Height properties separately, but SetBounds changes all four properties at once ensuring that the control will not repaint between changes.

Specify the values for the Left, Top, Width, and Height properties as the value of the ALeft, ATop, AWidth, and AHeight parameters, respectively.

See Also

Code Examples