TCustomTeeCommander.CreateButton
TCustomTeeCommander
function CreateButton(APos: Integer; AProc: TNotifyEvent; Const AHint, AResName: String; AGroupIndex: Integer): TSpeedButton; overload;
Unit
TeeComma
Description
Used internally by TeeChart but you could add your own button to the TeeCommander bar.
Example
Adds a button using the TeeCommander's own Zoom Glyph. Selecting the button calls the BitBtnClick procedure:
TeeCommander1.CreateButton(300,BitBtn1Click,'Custom Zoom button','TeeZoom',1);