User (Legacy) Posted February 20, 2003 Report Share Posted February 20, 2003 I click on an arrow attached to a curve of a chart, and when I click above, it is impossible to intercept any events. I don't know that i click on this arrow nor on the chart. However the arrow is selected. How can I do ? Thanks Link to comment Share on other sites More sharing options...
Software FX Posted February 20, 2003 Report Share Posted February 20, 2003 I'm guessing the arrow you are talking about is an annotation object right ? The annotation extension provides independent events including MouseDown, you must attach to these events in order to be notified when clicks are made in the annotation objects. For example, if you have: annotX = new SoftwareFX.ChartFX.Annotation.AnnotationX(); chart1.Extensions.Add(annotX); you can attach to the event by doing: private void AnnotationMouseDown (object sender, MouseEventArgs e) { // Your Mouse Down event code goes here. You can use the HitTest method to retrieve the object being hit. } annotX.MouseDown += new MouseEventHandler(AnnotationMouseDown); -- FP Software FX, Inc. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.