Vcl.ComCtrls.TToolBar.RepositionButton

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

procedure RepositionButton(Index: Integer);

C++

void __fastcall RepositionButton(int Index);

プロパティ

種類 可視性 ソース ユニット
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TToolBar

説明

ツールバー内の指定されたボタンの位置を更新します。

TToolBar では,ツールバー内のボタンをレイアウトするときに RepositionButton を内部的に使用します。RepositionButton は,ツールバー内の従来のすべてのボタンの位置から,指定された添え字のボタンを配置する場所を計算します。次に,指定されたツールボタンの位置およびサイズを変更します。

関連項目