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 - TChartEditorPanel click and double click events
Summary: TChartEditorPanel click and double click events
Status: RESOLVED WONTFIX
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Other Components (show other bugs)
Version: 140512
Hardware: PC Windows
: High enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 04:23 EDT by yeray alonso
Modified: 2014-10-13 12:15 EDT (History)
1 user (show)

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