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 903

Summary: TChartEditorPanel click and double click events
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: Other ComponentsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: david
Priority: High    
Version: 140512   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=15155
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2014-08-28 04:23:44 EDT
You can implement these events, but they don't seem to be fired.

procedure TForm1.FormCreate(Sender: TObject);
begin
  ChartEditorPanel1.OnClick:=ChartEditorPanel1Click;
  ChartEditorPanel1.OnDblClick:=ChartEditorPanel1DblClick;
end;

procedure TForm1.ChartEditorPanel1Click(Sender: TObject);
begin
  ShowMessage('ChartEditorPanel1 - Click');
end;

procedure TForm1.ChartEditorPanel1DblClick(Sender: TObject);
begin
  ShowMessage('ChartEditorPanel1 - DblClick');
end;
Comment 1 yeray alonso 2014-08-29 03:24:52 EDT
OnMouseMove event seems to be fired for TChartEditorPanel, but not OnMouseDown/OnMouseUp/OnClick/OnDblClick.
Comment 2 david berneda 2014-10-13 12:15:32 EDT
ChartEditorPanel contains client-aligned controls (the Treeview and series panel) that process and handle mouse clicks. 
The panel itself is just a container.

One way to obtain clicks, for example when clicking the Tree:

  ChartEditorPanel1.Editor.Tree.OnClick:=ChartEditorPanel1Click;