RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.RepositionButtons Method

Updates the positions of all buttons in the toolbar from a specified button on.

Pascal
procedure RepositionButtons(Index: Integer);
C++
__fastcall RepositionButtons(int Index);

TToolBar uses RepositionButtons internally when laying out the buttons in the toolbar. RepositionButtons calculates where to place all the buttons with the specified index or greater, and updates their positions and sizes. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!