Vcl.ComCtrls.TToolBar.FindButtonFromAccel

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

Delphi

function FindButtonFromAccel(Accel: Word): TToolButton;

C++

TToolButton* __fastcall FindButtonFromAccel(System::Word Accel);

プロパティ

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

説明

指定したアクセラレータを持つツールバーボタンを返します。

FindButtonFromAccel メソッドを使用すると,どのツールバーボタンが指定のアクセラレータを持つかを判別できます。

アクセラレータが見つからない場合,FindButtonFromAccel メソッドは nil(Delphi)または NULL(C++)を返します。

関連項目