Vcl.ComCtrls.TToolBar.RepositionButtons
Delphi
procedure RepositionButtons(Index: Integer);
C++
void __fastcall RepositionButtons(int Index);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolBar |
Description
Updates the positions of all buttons in the toolbar from a specified button on.
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.