You are here: Symbol Reference > _GClass Namespace > Classes > TAbSpinButton Class > public > SetBounds Method
ContentsIndexHome
PreviousUpNext
TAbSpinButton.SetBounds Method
Send Feedback
Pascal
procedure SetBounds(ALeft: Integer; ATop: Integer; AWidth: Integer; AHeight: Integer); override;
C++
virtual __fastcall SetBounds(int ALeft, int ATop, int AWidth, int AHeight);
Parameters
Parameters 
Description 
ALeft: Integer 
Left position 
ATop: Integer 
Top position 
AWidth: Integer 
Width of the component 
AHeight: Integer 
Height of the component 
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.

Related Information
Hard-& Software A.Baecker
What do you think about this topic? Send feedback!