Search found 5 matches
- Wed Jul 25, 2012 4:53 am
- Forum: VCL
- Topic: OnMouseDown event on TIWChart does not work
- Replies: 9
- Views: 9830
Re: OnMouseDown event on TIWChart does not work
OK, I've found a workaround. Now, I work directly with the TIWImage component. After adding the TIWImage component (called imgIWChart) and a TChart component (called chtOriginal), I use the following function to render the TChart in the TIWImage: procedure TIWForm1.RedrawGraph; var lMF : TMetafile; ...
- Fri Jul 20, 2012 3:45 am
- Forum: VCL
- Topic: OnMouseDown event on TIWChart does not work
- Replies: 9
- Views: 9830
Re: OnMouseDown event on TIWChart does not work
Hi Yeray, Thank you for your response. Mouse.CursorPos.X and Mouse.CursorPos.Y give me absolute screen coordinates. To convert these absolute screen coordinates into local coordinates relative to the TChart axes, I need to know where the TChart axes are plotted. I can see that TChart.ChartRect will ...
- Fri Jul 13, 2012 12:56 am
- Forum: VCL
- Topic: OnMouseDown event on TIWChart does not work
- Replies: 9
- Views: 9830
Re: OnMouseDown event on TIWChart does not work
Yeray,
You are correct in understanding that the OnMouseDown event DOES NOT fire at all. That means that I still have the same problem of not being able to recover the mouse coordinates on click or mouse down.
Stephen
You are correct in understanding that the OnMouseDown event DOES NOT fire at all. That means that I still have the same problem of not being able to recover the mouse coordinates on click or mouse down.
Stephen
- Thu Jul 12, 2012 5:09 am
- Forum: VCL
- Topic: OnMouseDown event on TIWChart does not work
- Replies: 9
- Views: 9830
Re: OnMouseDown event on TIWChart does not work
Hi Yeray,
The problem I have with the OnClick event is that it does not give me the position of the cursor when it is clicked.
I am trying to identify where the user has clicked in the plot. How should I do this via the OnClick event?
Many thanks,
Stephen
The problem I have with the OnClick event is that it does not give me the position of the cursor when it is clicked.
I am trying to identify where the user has clicked in the plot. How should I do this via the OnClick event?
Many thanks,
Stephen
- Tue Jul 10, 2012 5:44 am
- Forum: VCL
- Topic: OnMouseDown event on TIWChart does not work
- Replies: 9
- Views: 9830
OnMouseDown event on TIWChart does not work
Hi, I'm currently trying to use TeeChart in an Intraweb application. I am using Delphi XE, TeeChart 2012 and Intraweb XII. My problem is that the OnMouseDown event of the TIWChart does not seem to occur when I click on the generated chart in my web browser. This is rather strange, since if I change ...