Vcl.ComCtrls.TToolBar.FindButtonFromAccel
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++)を返します。