"This can be done now using GetCursorMouseButtons(), GetCursorXPosition() and GetCursorYPosition() . HOWEVER there is no function that returns the ChartID for the chartpane over which the mouse is clicked"
Hi Herman, All of that chartID stuff would not be necessary if you tied the mouse button clicks to well-known event routines (like that ones I mentioned as an example) which get called specifically from the AFL code behind a chart pane. You want this type of facility event-driven, not polled. Polling puts more work on the user's side and brings up other unpleasant side- effects like what you just described. Which would you rather do? 1) Code a rats nest of polling inline with your other AFL code -or- 2) Have a well-known function called on a mouse click with all of the information you need provided as the function parameters directed to the script already bound to a particular chart pane? Anyone who chooses #1 last seriously programmed a computer more than 20 years ago. "That's available now - check the list of functions, duude." No it's not...duude [sic]
