Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1852

Summary: Click method and Down property for TeeCommander buttons
Product: ActiveX TeeChart Reporter: yeray alonso <yeray>
Component: OthersAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: ---    
Version: TeeChart Pro Activex Control 2017.0.0.0 Release   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=1&t=16482
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2017-04-28 03:16:54 EDT
In VCL you can call the TeeCommander buttons manually to activate the different features by code.

It would be interesting to allow this in ActiveX too.

In VCL you can do this:

procedure TForm1.FormCreate(Sender: TObject);
begin
  TeeCommander1.Hide;
end;

procedure TForm1.MoveButtonClick(Sender: TObject);
begin
  TeeCommander1.ButtonMove.Click;
  TeeCommander1.ButtonMove.Down:=True;
end;

procedure TForm1.DepthButtonClick(Sender: TObject);
begin
  TeeCommander1.ButtonDepth.Click;
  TeeCommander1.ButtonDepth.Down:=True;
end;

procedure TForm1.ZoomButtonClick(Sender: TObject);
begin
  TeeCommander1.ButtonZoom.Click;
  TeeCommander1.ButtonZoom.Down:=True;
end;