Vcl.ComCtrls.TToolBar.WrapButtons

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

Delphi

function WrapButtons(var NewWidth, NewHeight: Integer): Boolean;

C++

bool __fastcall WrapButtons(int &NewWidth, int &NewHeight);

プロパティ

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

説明

ツールバーにすべてのボタンが収まるように各ボタンを再配列します。

WrapButtons を呼び出すと,ツールバーのすべてのボタンを再配列できます。

NewWidth パラメータは,すべてのボタンを収容する幅です。

NewHeight パラメータは,すべてのボタンを収容する高さです。

ボタンを収容する場合,WrapButtons は true を返します。それ以外の場合,WrapButtons は false を返します。