Vcl.ComCtrls.TToolBar.FindButtonFromAccel
Delphi
function FindButtonFromAccel(Accel: Word): TToolButton;
C++
TToolButton* __fastcall FindButtonFromAccel(System::Word Accel);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TToolBar |
Description
Returns the toolbar button with the specified accelerator.
Use FindButtonFromAccel to determine which toolbar button has the specified accelerator.
If the accelerator is not found, FindButtonFromAccel returns nil (Delphi) or NULL (C++).