RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMargins.SetBounds Method

Sets the properties for the left, top, right, and bottom margins all at once.

Pascal
procedure SetBounds(ALeft: Integer; ATop: Integer; ARight: Integer; ABottom: Integer);
C++
__fastcall SetBounds(int ALeft, int ATop, int ARight, int ABottom);

Use the SetBounds method to specify the values for the Left, Top, Right, andBottom properties as the value of the ALeft, ATop, ARight, and ABottom parameters, respectively. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!