Scope of TCursorTool grabbing mouse cursor
Posted: Fri Oct 09, 2009 7:58 pm
I have a TCursorTool on a chart. It's Style is both. The horizontal and vertical sizes are both set to 10. This makes the cursor appear as a cross-hair. When the mouse cursor is anywhere on the chart, whenever it crosses the projection of the cursor lines, the mouse pointer changes to indicate that the TCursorTool is below the mouse. You can also click and drag at that point, even though the visible TCursorTool is far from the mouse pointer. Is there a way to restrict this behavior to the 10 pixels that are actually visible.
That may be a little cryptic. As an example, if the TCursorTool is positioned at 0,0, then when the mouse pointer passes over 1000, 0, it changes, and I can click and drag the TCursorTool from there, even though the mouse is nowhere near the TCursorTool. This could be very confusing to a user.
That may be a little cryptic. As an example, if the TCursorTool is positioned at 0,0, then when the mouse pointer passes over 1000, 0, it changes, and I can click and drag the TCursorTool from there, even though the mouse is nowhere near the TCursorTool. This could be very confusing to a user.