![]() | Steema Issues DatabaseNote: 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. |
| Summary: | TChartEditorPanel click and double click events | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Other Components | Assignee: | 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: | |
OnMouseMove event seems to be fired for TChartEditorPanel, but not OnMouseDown/OnMouseUp/OnClick/OnDblClick. 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; |
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;