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 - Click method and Down property for TeeCommander buttons
Summary: Click method and Down property for TeeCommander buttons
Status: CONFIRMED
Alias: None
Product: ActiveX TeeChart
Classification: Unclassified
Component: Others (show other bugs)
Version: TeeChart Pro Activex Control 2017.0.0.0 Release
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-28 03:16 EDT by yeray alonso
Modified: 2017-04-28 03:16 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;