RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDecisionPivot.SetBounds Method

Resizes the decision pivot.

Pascal
procedure SetBounds(Left: Integer; Top: Integer; Height: Integer; Width: Integer); override;
C++
virtual __fastcall SetBounds(int Left, int Top, int Height, int Width);

Use SetBounds to change all of the decision pivot'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 Left, Top, Width, and Height parameters, respectively. 

SetBounds overrides the inherited method to adjust the layout of the buttons in the decision pivot when the size changes. 

 

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