RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TToolBar.WrapButtons Method

Rearranges the toolbar's buttons so they fit in the toolbar.

Pascal
function WrapButtons(var NewWidth: Integer; var NewHeight: Integer): Boolean;
C++
__fastcall Boolean WrapButtons(int NewWidth, int NewHeight);

Call WrapButtons to rearrange the toolbar's buttons. 

NewWidth is the width in which the buttons must fit. 

NewHeight is the height in which the buttons must fit. 

WrapButtons returns true if the buttons fit; otherwise, WrapButtons returns false. 

 

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