TCustomTeeCommander.CreateButton
 
 
 

All Units  All Classes  Properties, Methods and Events  

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




Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.