Contents  All Classes  Index A-Z  All Units


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);



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.