Vcl.DBCtrls.TCustomDBLookupComboBox.SetBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetBounds(ALeft, ATop, AWidth, 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.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TCustomDBLookupComboBox

Description

Sets the windowed control's boundary properties all at once.

Vcl.DBCtrls.TCustomDBLookupComboBox.SetBounds inherits from Vcl.Controls.TWinControl.SetBounds. All content below this line refers to Vcl.Controls.TWinControl.SetBounds.

Sets the windowed control's boundary properties all at once.

Use SetBounds to change all of the control's boundary properties at once. The same effect can be achieved by setting the Left, Top, Width, and Height properties separately. By setting all four properties at once, SetBounds ensures 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